# CVE-2026-74379: dax/kmem: account for partial discontiguous resource upon removal

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-08-15T05:58:57.024Z
- Modified: 2026-11-06T17:19:47.203Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

dax/kmem: account for partial discontiguous resource upon removal

When dev_dax_kmem_probe() partially succeeds (at least one range is
mapped) but a subsequent range fails request_mem_region() or
add_memory_driver_managed(), the probe silently continues, ultimately
returning success, but with the corresponding range resource NULL'ed out.

dev_dax_kmem_remove() iterates over all dax_device ranges regardless of if
the underlying resource exists.  When remove_memory() is called later, it
returns 0 because the memory was never added which causes
dev_dax_kmem_remove() to incorrectly assume the (nonexistent) resource can
be removed and attempts cleanup on a NULL pointer.

Fix this by skipping these ranges altogether, noting that these cases are
considered success, such that the cleanup is still reached when all
actually-added ranges are successfully removed.

(As written by CVE List.)

## Affected

- Linux Linux: from 60e93dc097f7f13a16a7e4b75b8803eb2adbb721 before ef4fc53898bd6c4d0119cc6d419ebef7f2560f31; from 60e93dc097f7f13a16a7e4b75b8803eb2adbb721 before 5d3139abb9d1671fa5e42c3d6d8cb3b05479c5bb; from 60e93dc097f7f13a16a7e4b75b8803eb2adbb721 before d47b0b8a69a13e06afafa54723f3e8c99b0c788f; from 60e93dc097f7f13a16a7e4b75b8803eb2adbb721 before 799e54c510a03a65a57627018a817838d72f35bd; from 60e93dc097f7f13a16a7e4b75b8803eb2adbb721 before 598ed7393a639c7547b28ff3e14db9f1ac37c132; from 60e93dc097f7f13a16a7e4b75b8803eb2adbb721 before 30ea97affbcce236c57287c82dc6ef7a29c63b76; from 60e93dc097f7f13a16a7e4b75b8803eb2adbb721 before 8aa442cfce79e2d69e72fc8e0c0864ac2971149d; 5.10 (not affected: before 5.10; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.97 up to 6.12.*; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/ef4fc53898bd6c4d0119cc6d419ebef7f2560f31>
- <https://git.kernel.org/stable/c/5d3139abb9d1671fa5e42c3d6d8cb3b05479c5bb>
- <https://git.kernel.org/stable/c/d47b0b8a69a13e06afafa54723f3e8c99b0c788f>
- <https://git.kernel.org/stable/c/799e54c510a03a65a57627018a817838d72f35bd>
- <https://git.kernel.org/stable/c/598ed7393a639c7547b28ff3e14db9f1ac37c132>
- <https://git.kernel.org/stable/c/30ea97affbcce236c57287c82dc6ef7a29c63b76>
- <https://git.kernel.org/stable/c/8aa442cfce79e2d69e72fc8e0c0864ac2971149d>

## Sources

- CVE List: [CVE-2026-74379](https://www.cve.org/CVERecord?id=CVE-2026-74379), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-74379](https://nvd.nist.gov/vuln/detail/CVE-2026-74379), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-74379 · Whole record: https://cve.day/CVE-2026-74379.json · Rebuilt by cve.day 2026-11-25T22:59:33.188Z
