# CVE-2026-46279: mm/alloc\_tag: clear codetag for pages allocated before page\_ext initialization

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-30)
- **CWE:** CWE-415
- **Published:** 2026-06-08T15:41:21.972Z
- **Modified:** 2026-07-08T14:59:41.053Z

## Who should check

- Anyone running Linux \>= dcfe378c81f72f146890ce1dcfdcc742d3b66924, \< d5b495ba9de0423ef39f8bd86729a885870c7efe; \>= dcfe378c81f72f146890ce1dcfdcc742d3b66924, \< b49dfabc38cad5e50af24f63edd124a10de3ebb6; \>= dcfe378c81f72f146890ce1dcfdcc742d3b66924, \< 6b1842775a460245e97d36d3a67d0cfba7c4ff79
- Anyone running Linux 6.10

## Description

In the Linux kernel, the following vulnerability has been resolved:

mm/alloc\_tag: clear codetag for pages allocated before page\_ext initialization

Due to initialization ordering, page\_ext is allocated and initialized
relatively late during boot.  Some pages have already been allocated and
freed before page\_ext becomes available, leaving their codetag
uninitialized.

A clear example is in init\_section\_page\_ext(): alloc\_page\_ext() calls
kmemleak\_alloc().  If the slab cache has no free objects, it falls back to
the buddy allocator to allocate memory.  However, at this point page\_ext
is not yet fully initialized, so these newly allocated pages have no
codetag set.  These pages may later be reclaimed by KASAN, which causes
the warning to trigger when they are freed because their codetag ref is
still empty.

Use a global array to track pages allocated before page\_ext is fully
initialized.  The array size is fixed at 8192 entries, and will emit a
warning if this limit is exceeded.  When page\_ext initialization
completes, set their codetag to empty to avoid warnings when they are
freed later.

This warning is only observed with CONFIG\_MEM\_ALLOC\_PROFILING\_DEBUG=Y and
mem\_profiling\_compressed disabled:

\[    9.582133\] ------------\[ cut here \]------------
\[    9.582137\] alloc\_tag was not set
\[    9.582139\] WARNING: ./include/linux/alloc\_tag.h:164 at \_\_pgalloc\_tag\_sub+0x40f/0x550, CPU\#5: systemd/1
\[    9.582190\] CPU: 5 UID: 0 PID: 1 Comm: systemd Not tainted 7.0.0-rc4 \#1 PREEMPT(lazy)
\[    9.582192\] Hardware name: Red Hat KVM, BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
\[    9.582194\] RIP: 0010:\_\_pgalloc\_tag\_sub+0x40f/0x550
\[    9.582196\] Code: 00 00 4c 29 e5 48 8b 05 1f 88 56 05 48 8d 4c ad 00 48 8d 2c c8 e9 87 fd ff ff 0f 0b 0f 0b e9 f3 fe ff ff 48 8d 3d 61 2f ed 03 \<67\> 48 0f b9 3a e9 b3 fd ff ff 0f 0b eb e4 e8 5e cd 14 02 4c 89 c7
\[    9.582197\] RSP: 0018:ffffc9000001f940 EFLAGS: 00010246
\[    9.582200\] RAX: dffffc0000000000 RBX: 1ffff92000003f2b RCX: 1ffff110200d806c
\[    9.582201\] RDX: ffff8881006c0360 RSI: 0000000000000004 RDI: ffffffff9bc7b460
\[    9.582202\] RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff3a62324
\[    9.582203\] R10: ffffffff9d311923 R11: 0000000000000000 R12: ffffea0004001b00
\[    9.582204\] R13: 0000000000002000 R14: ffffea0000000000 R15: ffff8881006c0360
\[    9.582206\] FS:  00007ffbbcf2d940(0000) GS:ffff888450479000(0000) knlGS:0000000000000000
\[    9.582208\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[    9.582210\] CR2: 000055ee3aa260d0 CR3: 0000000148b67005 CR4: 0000000000770ef0
\[    9.582211\] PKRU: 55555554
\[    9.582212\] Call Trace:
\[    9.582213\]  \<TASK\>
\[    9.582214\]  ? \_\_pfx\_\_\_pgalloc\_tag\_sub+0x10/0x10
\[    9.582216\]  ? check\_bytes\_and\_report+0x68/0x140
\[    9.582219\]  \_\_free\_frozen\_pages+0x2e4/0x1150
\[    9.582221\]  ? \_\_free\_slab+0xc2/0x2b0
\[    9.582224\]  qlist\_free\_all+0x4c/0xf0
\[    9.582227\]  kasan\_quarantine\_reduce+0x15d/0x180
\[    9.582229\]  \_\_kasan\_slab\_alloc+0x69/0x90
\[    9.582232\]  kmem\_cache\_alloc\_noprof+0x14a/0x500
\[    9.582234\]  do\_getname+0x96/0x310
\[    9.582237\]  do\_readlinkat+0x91/0x2f0
\[    9.582239\]  ? \_\_pfx\_do\_readlinkat+0x10/0x10
\[    9.582240\]  ? get\_random\_bytes\_user+0x1df/0x2c0
\[    9.582244\]  \_\_x64\_sys\_readlinkat+0x96/0x100
\[    9.582246\]  do\_syscall\_64+0xce/0x650
\[    9.582250\]  ? \_\_x64\_sys\_getrandom+0x13a/0x1e0
\[    9.582252\]  ? \_\_pfx\_\_\_x64\_sys\_getrandom+0x10/0x10
\[    9.582254\]  ? do\_syscall\_64+0x114/0x650
\[    9.582255\]  ? ksys\_read+0xfc/0x1d0
\[    9.582258\]  ? \_\_pfx\_ksys\_read+0x10/0x10
\[    9.582260\]  ? do\_syscall\_64+0x114/0x650
\[    9.582262\]  ? do\_syscall\_64+0x114/0x650
\[    9.582264\]  ? \_\_pfx\_fput\_close\_sync+0x10/0x10
\[    9.582266\]  ? file\_close\_fd\_locked+0x178/0x2a0
\[    9.582268\]  ? \_\_x64\_sys\_faccessat2+0x96/0x100
\[    9.582269\]  ? \_\_x64\_sys\_close+0x7d/0xd0
\[    9.582271\]  ? do\_syscall\_64+0x114/0x650
\[    9.582273\]  ? do\_syscall\_64+0x114/0x650
\[    9.582275\]  ? clear\_bhb\_loop+0x50/0xa0
\[    9.582277\]  ? clear\_bhb\_l
---truncated---

## Affected and fixed versions

- Linux: \>= dcfe378c81f72f146890ce1dcfdcc742d3b66924, \< d5b495ba9de0423ef39f8bd86729a885870c7efe; \>= dcfe378c81f72f146890ce1dcfdcc742d3b66924, \< b49dfabc38cad5e50af24f63edd124a10de3ebb6; \>= dcfe378c81f72f146890ce1dcfdcc742d3b66924, \< 6b1842775a460245e97d36d3a67d0cfba7c4ff79 (cvelist)
- Linux: 6.10 (cvelist)

## Mitigation

- Upgrade Linux to 6b1842775a460245e97d36d3a67d0cfba7c4ff79 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-46279. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46279.md
Affected: Linux >= dcfe378c81f72f146890ce1dcfdcc742d3b66924, < d5b495ba9de0423ef39f8bd86729a885870c7efe; >= dcfe378c81f72f146890ce1dcfdcc742d3b66924, < b49dfabc38cad5e50af24f63edd124a10de3ebb6; >= dcfe378c81f72f146890ce1dcfdcc742d3b66924, < 6b1842775a460245e97d36d3a67d0cfba7c4ff79; Linux 6.10
Fixed in: Linux 6b1842775a460245e97d36d3a67d0cfba7c4ff79

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-46279 being exploited?

There is no confirmed exploitation: CVE-2026-46279 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-30).

### How serious is CVE-2026-46279?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-46279?

Linux \>= dcfe378c81f72f146890ce1dcfdcc742d3b66924, \< d5b495ba9de0423ef39f8bd86729a885870c7efe; \>= dcfe378c81f72f146890ce1dcfdcc742d3b66924, \< b49dfabc38cad5e50af24f63edd124a10de3ebb6; \>= dcfe378c81f72f146890ce1dcfdcc742d3b66924, \< 6b1842775a460245e97d36d3a67d0cfba7c4ff79; Linux 6.10.

### Is there a fix for CVE-2026-46279?

Yes. Fixed in Linux 6b1842775a460245e97d36d3a67d0cfba7c4ff79. Upgrade Linux to 6b1842775a460245e97d36d3a67d0cfba7c4ff79 or later.

### How do I check if I'm affected by CVE-2026-46279?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/d5b495ba9de0423ef39f8bd86729a885870c7efe>
- patch: <https://git.kernel.org/stable/c/b49dfabc38cad5e50af24f63edd124a10de3ebb6>
- patch: <https://git.kernel.org/stable/c/6b1842775a460245e97d36d3a67d0cfba7c4ff79>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-46279>

HTML: <https://flawdb.com/CVE-2026-46279> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-46279>
