CVE-2026-53042
MEDIUM 5.5CVSS 3.1In the Linux kernel, the following vulnerability has been resolved:
fwctl: Fix class init ordering to avoid NULL pointer dereference on device removal
CXL is linked before fwctl in drivers/Makefile. Both use module_init, so cxl_pci_driver_init()runs first. Whencxl_pci_probe()callsfwctl_register()and thendevice_add(), fwctl_class is not yet registered because fwctl_init() hasn't run, causing class_to_subsys()` to
return NULL and skip knode_class initialization.
On device removal, class_to_subsys() returns non-NULL, and
device_del() calls klist_del() on the uninitialized knode, triggering
a NULL pointer dereference.
- Published
- 24 Jun 2026
- Last modified
- 14 Jul 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
- Weakness
- CWE-824
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.15, < 6.18.33 | 6.18.33 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.19, < 7.0.10 | 7.0.10 |
References
- https://git.kernel.org/stable/c/1075f2f590fdac147f8b8010c35b606564b5c7d7 · Patch
- https://git.kernel.org/stable/c/a28f56988c8e5bb9375806a5cfb0bf54d662ae3f · Patch
- https://git.kernel.org/stable/c/a55f80233f384dc89ef3425b2e1dd0e6d44bcf29 · Patch
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 24 Jun 2026)