Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-41085

MEDIUM 5.5EPSS 16%

cxl/mem: Fix no cxl_nvd during pmem region auto-assembling

Mitigation

  • Upgrade Linux to 84ec985944ef34a34a1605b93ce401aa8737af96 or later.

Who should check

  • Anyone running Linux >= f17b558d6663101f876a1d9cbbad3de0c8f4ce4d, < bc262c6d32b6c1715e64220e2cbfa64a225cd266; >= f17b558d6663101f876a1d9cbbad3de0c8f4ce4d, < 1d064e4fbebcf5b18dc10c1f3973487eb163b600; >= f17b558d6663101f876a1d9cbbad3de0c8f4ce4d, < 84ec985944ef34a34a1605b93ce401aa8737af96
  • Anyone running Linux 6.2

Vulnerability facts

Affected
Linux >= f17b558d6663101f876a1d9cbbad3de0c8f4ce4d, < bc262c6d32b6c1715e64220e2cbfa64a225cd266; >= f17b558d6663101f876a1d9cbbad3de0c8f4ce4d, < 1d064e4fbebcf5b18dc10c1f3973487eb163b600; >= f17b558d6663101f876a1d9cbbad3de0c8f4ce4d, < 84ec985944ef34a34a1605b93ce401aa8737af96; Linux 6.2
Fixed in
Linux 1d064e4fbebcf5b18dc10c1f3973487eb163b600, Linux 84ec985944ef34a34a1605b93ce401aa8737af96
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
CWE
CWE-476
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: cxl/mem: Fix no cxl_nvd during pmem region auto-assembling When CXL subsystem is auto-assembling a pmem region during cxl endpoint port probing, always hit below calltrace. BUG: kernel NULL pointer dereference, address: 0000000000000078 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page RIP: 0010:cxl_pmem_region_probe+0x22e/0x360 [cxl_pmem] Call Trace: <TASK> ? __die+0x24/0x70 ? page_fault_oops+0x82/0x160 ? do_user_addr_fault+0x65/0x6b0 ? exc_page_fault+0x7d/0x170 ? asm_exc_page_fault+0x26/0x30 ? cxl_pmem_region_probe+0x22e/0x360 [cxl_pmem] ? cxl_pmem_region_probe+0x1ac/0x360 [cxl_pmem] cxl_bus_probe+0x1b/0x60 [cxl_core] really_probe+0x173/0x410 ? __pfx___device_attach_driver+0x10/0x10 __driver_probe_device+0x80/0x170 driver_probe_device+0x1e/0x90 __device_attach_driver+0x90/0x120 bus_for_each_drv+0x84/0xe0 __device_attach+0xbc/0x1f0 bus_probe_device+0x90/0xa0 device_add+0x51c/0x710 devm_cxl_add_pmem_region+0x1b5/0x380 [cxl_core] cxl_bus_probe+0x1b/0x60 [cxl_core] The cxl_nvd of the memdev needs to be available during the pmem region probe. Currently the cxl_nvd is registered after the endpoint port probe. The endpoint probe, in the case of autoassembly of regions, can cause a pmem region probe requiring the not yet available cxl_nvd. Adjust the sequence so this dependency is met. This requires adding a port parameter to cxl_find_nvdimm_bridge() that can be used to query the ancestor root port. The endpoint port is not yet available, but will share a common ancestor with its parent, so start the query from there instead.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= f17b558d6663101f876a1d9cbbad3de0c8f4ce4d, < bc262c6d32b6c1715e64220e2cbfa64a225cd266; >= f17b558d6663101f876a1d9cbbad3de0c8f4ce4d, < 1d064e4fbebcf5b18dc10c1f3973487eb163b600; >= f17b558d6663101f876a1d9cbbad3de0c8f4ce4d, < 84ec985944ef34a34a1605b93ce401aa8737af96—cvelist
Linux6.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-41085. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-41085.md
Affected: Linux >= f17b558d6663101f876a1d9cbbad3de0c8f4ce4d, < bc262c6d32b6c1715e64220e2cbfa64a225cd266; >= f17b558d6663101f876a1d9cbbad3de0c8f4ce4d, < 1d064e4fbebcf5b18dc10c1f3973487eb163b600; >= f17b558d6663101f876a1d9cbbad3de0c8f4ce4d, < 84ec985944ef34a34a1605b93ce401aa8737af96; Linux 6.2
Fixed in: Linux 1d064e4fbebcf5b18dc10c1f3973487eb163b600, Linux 84ec985944ef34a34a1605b93ce401aa8737af96

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.

References

FAQ

Is CVE-2024-41085 being exploited?

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

How serious is CVE-2024-41085?

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

Which versions are affected by CVE-2024-41085?

Linux >= f17b558d6663101f876a1d9cbbad3de0c8f4ce4d, < bc262c6d32b6c1715e64220e2cbfa64a225cd266; >= f17b558d6663101f876a1d9cbbad3de0c8f4ce4d, < 1d064e4fbebcf5b18dc10c1f3973487eb163b600; >= f17b558d6663101f876a1d9cbbad3de0c8f4ce4d, < 84ec985944ef34a34a1605b93ce401aa8737af96; Linux 6.2.

Is there a fix for CVE-2024-41085?

Yes. Fixed in Linux 1d064e4fbebcf5b18dc10c1f3973487eb163b600, Linux 84ec985944ef34a34a1605b93ce401aa8737af96. Upgrade Linux to 84ec985944ef34a34a1605b93ce401aa8737af96 or later.

How do I check if I'm affected by CVE-2024-41085?

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.

Sponsors