How to Fix CVE-2026-23219: Critical Vulnerability in Linux
Related fixes
Other vulnerabilities in the same area that are worth patching alongside this one:
- How to Fix CVE-2026-31637: rxrpc: reject undecryptable rxkad response tickets in Linux — rxrpc: reject undecryptable rxkad response tickets in Linux
- How to Fix CVE-2026-23301: Critical Vulnerability in Linux — Critical Vulnerability in Linux
- How to Fix CVE-2026-43047: HID: multitouch: Check to ensure report responses match the request in Linux , HID: multitouch: Check to ensure report responses match the request in Linux
- How to Fix CVE-2026-31702: f2fs: fix use-after-free of sbi in Linux , f2fs: fix use-after-free of sbi in Linux
- How to Fix CVE-2026-43055: scsi: target: file: Use kzalloc_flex for aio_cmd in Linux , scsi: target: file: Use kzalloc_flex for aio_cmd in Linux
*By Sai Kiran Pandrala*
| Severity | Not verified - see advisory |
|---|---|
| Actively exploited? | Not currently listed in CISA KEV |
| Affected | 9f9796b413d3c417f34cae427c4e47bfdd3a7454 < b8bc72587c79fe52c14732e16a766b6eded00707, 9f9796b413d3c417f34cae427c4e47bfdd3a7454 < e8af57e090790983591f6927b3d89ee6383f8c1e, 9f9796b413d3c417f34cae427c4e47bfdd3a7454 < e6c53ead2d8fa73206e0a63e9cd9aea6bc929837, 6.10 |
| Fixed in | 0, 6.12.70, 6.18.10, 6.19 |
| Type (CWE) | Not verified |
What is CVE-2026-23219?
CVE-2026-23219 is a security flaw in Linux. In the Linux kernel, the following vulnerability has been resolved: mm/slab: Add alloc_tagging_slab_free_hook for memcg_alloc_abort_single When CONFIG_MEM_ALLOC_PROFILING_DEBUG is enabled, the following warning may be noticed: [ 3959.023862] ------------[ cut here ]------------ [ 3959.023891] alloc_tag was not cleared (got tag for lib/xarray.c:378) [ 3959.023947] WARNING: ./include/linux/alloc_tag.h:155 at alloc_tag_add+0x128/0x178, CPU#6: mkfs.ntfs/113998 [ 3959.023978] Modules linked in: dns_resolver tun brd overlay exfat btrfs blake2b libblake2b xor xor_neon raid6_pq loop sctp ip6_udp_tunnel udp_tunnel ext4 crc16 mbcache jbd2 rfkill sunrpc vfat fat sg fuse nfnetlink sr_mod virtio_gpu cdrom drm_client_lib virtio_dma_buf drm_shmem_helper drm_kms_helper ghash_ce drm sm4 backlight virtio_net net_failover virtio_scsi failover virtio_console virtio_blk virtio_mmio dm_mirror dm_region_hash dm_log dm_multipath dm_mod i2c_dev aes_neon_bs aes_ce_blk [last unloaded: hwpoison_inject] [ 3959.024170] CPU: 6 UID: 0 PID: 113998 Comm: mkfs.ntfs Kdump: loaded Tainted: G W 6.19.0-rc7+ #7 PREEMPT(voluntary) [ 3959.024182] Tainted: [W]=WARN [ 3959.024186] Hardware name: QEMU KVM Virtual Machine, BIOS unknown 2/2/2022 [ 3959.024192] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 3959.024199] pc : alloc_tag_add+0x128/0x178 [ 3959.024207] lr : alloc_tag_add+0x128/0x178 [ 3959.024214] sp : ffff80008b696d60 [ 3959.024219] x29: ffff80008b696d60 x28: 0000000000000000 x27: 0000000000000240 [ 3959.024232] x26: 0000000000000000 x25: 0000000000000240 x24: ffff800085d17860 [ 3959.024245] x23: 0000000000402800 x22: ffff0000c0012dc0 x21: 00000000000002d0 [ 3959.024257] x20: ffff0000e6ef3318 x19: ffff800085ae0410 x18: 0000000000000000 [ 3959.024269] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 [ 3959.024281] x14: 0000000000000000 x13: 0000000000000001 x12: ffff600064101293 [ 3959.024292] x11: 1fffe00064101292 x10: ffff600064101292 x9 : dfff800000000000 [ 3959.024305] x8 : 00009fff9befed6e x7 : ffff000320809493 x6 : 0000000000000001 [ 3959.024316] x5 : ffff000320809490 x4 : ffff600064101293 x3 : ffff800080691838 [ 3959.024328] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff0000d5bcd640 [ 3959.024340] Call trace: [ 3959.024346] alloc_tag_add+0x128/0x178 (P) [ 3959.024355] __alloc_tagging_slab_alloc_hook+0x11c/0x1a8 [ 3959.024362] kmem_cache_alloc_lru_noprof+0x1b8/0x5e8 [ 3959.024369] xas_alloc+0x304/0x4f0 [ 3959.024381] xas_create+0x1e0/0x4a0 [ 3959.024388] xas_store+0x68/0xda8 [ 3959.024395] __filemap_add_folio+0x5b0/0xbd8 [ 3959.024409] filemap_add_folio+0x16c/0x7e0 [ 3959.024416] __filemap_get_folio_mpol+0x2dc/0x9e8 [ 3959.024424] iomap_get_folio+0xfc/0x180 [ 3959.024435] __iomap_get_folio+0x2f8/0x4b8 [ 3959.024441] iomap_write_begin+0x198/0xc18 [ 3959.024448] iomap_write_iter+0x2ec/0x8f8 [ 3959.024454] iomap_file_buffered_write+0x19c/0x290 [ 3959.024461] blkdev_write_iter+0x38c/0x978 [ 3959.024470] vfs_write+0x4d4/0x928 [ 3959.024482] ksys_write+0xfc/0x1f8 [ 3959.024489] __arm64_sys_write+0x74/0xb0 [ 3959.024496] invoke_syscall+0xd4/0x258 [ 3959.024507] el0_svc_common.constprop.0+0xb4/0x240 [ 3959.024514] do_el0_svc+0x48/0x68 [ 3959.024520] el0_svc+0x40/0xf8 [ 3959.024526] el0t_64_sync_handler+0xa0/0xe8 [ 3959.024533] el0t_64_sync+0x1ac/0x1b0 [ 3959.024540] ---[ end trace 0000000000000000 ]--- When __memcg_slab_post_alloc_hook() fails, there are two different free paths depending on whether size == 1 or size != 1. In the kmem_cache_free_bulk() path, we do call alloc_tagging_slab_free_hook().
Why this CVE matters
Unpatched network-facing software is the leading initial-access vector in public breach reporting. Treat any CVSS-9 class flaw on an internet-reachable system as urgent, regardless of whether public exploit code has been observed yet.
For deployments of Linux that have been exposed to the public internet during the disclosure window, the operating assumption should be that scanning has already happened. Even where exploitation has not been publicly observed, scanning for the vulnerable fingerprint is cheap and routine. Patching closes the door; log review and credential rotation close out the rest of the response.
Am I affected?
You are affected if your installation matches any of these version ranges:
- Linux: 9f9796b413d3c417f34cae427c4e47bfdd3a7454 < b8bc72587c79fe52c14732e16a766b6eded00707
- Linux: 9f9796b413d3c417f34cae427c4e47bfdd3a7454 < e8af57e090790983591f6927b3d89ee6383f8c1e
- Linux: 9f9796b413d3c417f34cae427c4e47bfdd3a7454 < e6c53ead2d8fa73206e0a63e9cd9aea6bc929837
- Linux: 6.10
Check your installed version against the list above. If you cannot determine the version, treat the system as affected and follow the upgrade path below.
Run uname -r to read the kernel release. Compare against the affected ranges; on distro kernels, also check the package version with dpkg -l linux-image-$(uname -r) or rpm -q kernel.
How to fix CVE-2026-23219
- Read the vendor advisory in full: https://git.kernel.org/stable/c/b8bc72587c79fe52c14732e16a766b6eded00707
- Upgrade Linux to 0, 6.12.70, 6.18.10, 6.19 or a later version listed in the vendor advisory.
- Back up the configuration (and database, where applicable) before upgrading.
- Apply the patch in a maintenance window. For HA pairs, upgrade the standby node first, fail over, then upgrade the former primary.
- Restart the affected service so the patched binary loads, then verify the new version (see verification section).
Patch the Linux kernel
# Target fixed version: 6.12.70, 6.18.10, 6.19
# Source advisory: https://git.kernel.org/stable/c/b8bc72587c79fe52c14732e16a766b6eded00707
# Confirm the running kernel.
uname -r
# Debian / Ubuntu - pull the security update.
sudo apt update
sudo apt install --only-upgrade linux-image-generic linux-headers-generic
sudo reboot
# RHEL / Rocky / AlmaLinux / Fedora.
sudo dnf upgrade --refresh kernel kernel-core kernel-modules -y
sudo reboot
# After reboot, confirm the new kernel is running and compare against the fixed version above.
uname -r
dpkg -l linux-image-$(uname -r) 2>/dev/null | tail -1
rpm -q kernel 2>/dev/null
# Container hosts: bump the host kernel via the same package manager,
# then restart container runtimes so workloads pick up the new host.
sudo systemctl restart docker
sudo systemctl restart containerd
# Windows admin workstation - verify Linux fleet kernels via Ansible (WinRM).
ansible linux -m shell -a "uname -r" -i inventory.ini
Verify the fix landed
# 1. Confirm the running version matches the fixed-in version listed above.
# 2. Re-scan with your vulnerability scanner (Nessus, Qualys, Tenable, OpenVAS).
# The scanner should no longer flag this CVE on the patched target.
# 3. Inspect recent service / kernel logs for crash-loops or rollback events.
journalctl --since "10 minutes ago" | tail -50
dmesg --since "10 minutes ago" 2>/dev/null | tail -50
If you cannot patch immediately
No official workaround exists beyond restricting network exposure to the affected component. Apply the vendor patch as the primary remediation.
How to verify the fix worked
- After applying the patch, verify the running version in the product's admin UI or via the vendor-documented CLI command.
- Confirm the patched build matches the version listed in the vendor advisory.
- Run an authenticated vulnerability scan with a current signature set and confirm the scanner no longer flags CVE-2026-23219.
- Review logs for the entire pre-patch window for indicators of compromise listed in the vendor or CISA advisory.
- Confirm any network-layer mitigations that were applied as a stopgap have been reverted (or left in place intentionally) once the patch is verified.
If your installation was internet-reachable during the disclosure window, treat log review as part of the remediation rather than an optional follow-up. Look for log entries that do not match your normal request patterns, especially repeated requests to the same uncommon endpoint, and any administrative changes you cannot tie back to a known operator.
Frequently asked questions
Is CVE-2026-23219 being exploited in the wild?
Public exploitation has not been confirmed by CISA at the time of writing. Treat the patch as time-sensitive anyway; reports often lag actual abuse.
Will a WAF or IDS rule fully mitigate CVE-2026-23219?
No. Network-layer filters can reduce noise and slow opportunistic scanners, but they will not stop a determined attacker. The vendor patch is the only durable fix.
How long should I plan for the upgrade?
Typical vendor-documented upgrade windows for Linux run from a few minutes to under an hour depending on cluster size. Test in a staging environment first and follow the vendor's documented HA upgrade order.
References
- Official vendor advisory: https://git.kernel.org/stable/c/b8bc72587c79fe52c14732e16a766b6eded00707
- NVD entry: https://nvd.nist.gov/vuln/detail/CVE-2026-23219
- CISA KEV catalog: https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- Additional vendor or research reference: https://git.kernel.org/stable/c/e8af57e090790983591f6927b3d89ee6383f8c1e
- Additional vendor or research reference: https://git.kernel.org/stable/c/e6c53ead2d8fa73206e0a63e9cd9aea6bc929837
*This guide was assembled from the official vendor advisory, the NVD record, and the CISA KEV catalog entry on 2026-05-25. Always confirm against the vendor advisory before applying changes in production.*