# CVE-2026-98920: netfs: Fix missing alloc tagging of direct mempool allocations

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-10-23T12:02:06.560Z
- **Modified:** 2026-11-10T19:22:28.410Z

## Who should check

- Anyone running Linux \>= b343252d6f536203dd0660f676190dcbf6d2ecdc, \< 6ba3d758cd40888908f96d68d69322dad65a871e; \>= 15ed8a9b7c63e9171f5139a6aaa1ffb61809861f, \< 5c03da745171485fd181f17b69213464f6d05f3d; \>= 1d78d56c43ef3768183e8370e7367b162700e049, \< 37a2042748bc880df03ff8315db86ed82991fbb8; \>= 1d78d56c43ef3768183e8370e7367b162700e049, \< b78b728e21c32ec4c330b299f657fb1eb02dffc2; 3f6d7f8a5416d852648d15a05e895f1195ee8a85; \>= 6.12.114, \< 6.12.117; \>= 7.1.8, \< 7.2
- Anyone running Linux 7.2

## Description

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

netfs: Fix missing alloc tagging of direct mempool allocations

Commit 1d78d56c43ef ("netfs: Fix folio\_queue ENOMEM in writeback by
adding a mempool") added a mempool for the folio\_queues and made the
request, subrequest and folio\_queue allocations distinguish between
writeback and everything else.  Writeback is part of memory reclaim
and must not fail due to ENOMEM, so it allocates under GFP\_NOFS
through mempool\_alloc(), which may dip into the pool's reserve and,
if that runs empty, wait for elements to be returned.  The
GFP\_KERNEL paths, which can return -ENOMEM to their callers, invoke
the pool's -\>alloc() callback directly instead.

The direct call, however, skips the alloc\_hooks() wrapper that the
mempool\_alloc() macro provides.  The pool callbacks, mempool\_alloc\_slab()
and mempool\_kmalloc(), call kmem\_cache\_alloc\_noprof() and kmalloc\_noprof()
and rely on current-\>alloc\_tag having been set by the caller.  With
CONFIG\_MEM\_ALLOC\_PROFILING\_DEBUG=y this leads to

    current-\>alloc\_tag not set
    WARNING: ./include/linux/alloc\_tag.h:161 at \_\_alloc\_tagging\_slab\_alloc\_hook
    alloc\_tag was not set
    WARNING: ./include/linux/alloc\_tag.h:166 at \_\_alloc\_tagging\_slab\_free\_hook

at allocation and free time respectively, as reported when reading
files on a CIFS mount.  The allocations are also missing from
/proc/allocinfo.

Wrap the direct -\>alloc() invocations in alloc\_hooks() with a new
mempool\_alloc\_noreserve() helper in include/linux/mempool.h, next to
the other alloc\_hooks()-wrapped macros such as mempool\_alloc().  The
GFP\_KERNEL paths keep their failable allocation semantics, they just
get tagged now.

## Affected and fixed versions

- Linux: \>= b343252d6f536203dd0660f676190dcbf6d2ecdc, \< 6ba3d758cd40888908f96d68d69322dad65a871e; \>= 15ed8a9b7c63e9171f5139a6aaa1ffb61809861f, \< 5c03da745171485fd181f17b69213464f6d05f3d; \>= 1d78d56c43ef3768183e8370e7367b162700e049, \< 37a2042748bc880df03ff8315db86ed82991fbb8; \>= 1d78d56c43ef3768183e8370e7367b162700e049, \< b78b728e21c32ec4c330b299f657fb1eb02dffc2; 3f6d7f8a5416d852648d15a05e895f1195ee8a85; \>= 6.12.114, \< 6.12.117; \>= 7.1.8, \< 7.2 (cvelist)
- Linux: 7.2 (cvelist)

## Mitigation

- Upgrade Linux to 7.2 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-98920. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98920.md
Affected: Linux >= b343252d6f536203dd0660f676190dcbf6d2ecdc, < 6ba3d758cd40888908f96d68d69322dad65a871e; >= 15ed8a9b7c63e9171f5139a6aaa1ffb61809861f, < 5c03da745171485fd181f17b69213464f6d05f3d; >= 1d78d56c43ef3768183e8370e7367b162700e049, < 37a2042748bc880df03ff8315db86ed82991fbb8; >= 1d78d56c43ef3768183e837…
Fixed in: Linux 6ba3d758cd40888908f96d68d69322dad65a871e, Linux 5c03da745171485fd181f17b69213464f6d05f3d, Linux 37a2042748bc880df03ff8315db86ed82991fbb8, Linux 6.12.117, Linux 7.2

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-98920 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= b343252d6f536203dd0660f676190dcbf6d2ecdc, \< 6ba3d758cd40888908f96d68d69322dad65a871e; \>= 15ed8a9b7c63e9171f5139a6aaa1ffb61809861f, \< 5c03da745171485fd181f17b69213464f6d05f3d; \>= 1d78d56c43ef3768183e8370e7367b162700e049, \< 37a2042748bc880df03ff8315db86ed82991fbb8; \>= 1d78d56c43ef3768183e8370e7367b162700e049, \< b78b728e21c32ec4c330b299f657fb1eb02dffc2; 3f6d7f8a5416d852648d15a05e895f1195ee8a85; \>= 6.12.114, \< 6.12.117; \>= 7.1.8, \< 7.2; Linux 7.2.

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

Yes. Fixed in Linux 6ba3d758cd40888908f96d68d69322dad65a871e, Linux 5c03da745171485fd181f17b69213464f6d05f3d, Linux 37a2042748bc880df03ff8315db86ed82991fbb8, Linux 6.12.117, Linux 7.2. Upgrade Linux to 7.2 or later.

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

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

- other: <https://git.kernel.org/stable/c/6ba3d758cd40888908f96d68d69322dad65a871e>
- other: <https://git.kernel.org/stable/c/5c03da745171485fd181f17b69213464f6d05f3d>
- other: <https://git.kernel.org/stable/c/37a2042748bc880df03ff8315db86ed82991fbb8>
- other: <https://git.kernel.org/stable/c/b78b728e21c32ec4c330b299f657fb1eb02dffc2>

## 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-98920>

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