CVE-2026-53042
fwctl: Fix class init ordering to avoid NULL pointer dereference on device removal
Reported by linux · Published June 24, 2026
In 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. When `cxl_pci_probe()` calls `fwctl_register()` and then `device_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.
EPSS 0.16% · 5.3th percentile
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 858ce2f56b5253063f61f6b1c58a6dbf5d71da0b, 858ce2f56b5253063f61f6b1c58a6dbf5d71da0b, 858ce2f56b5253063f61f6b1c58a6dbf5d71da0b |
| Linux | Linux | 6.15, 0, 6.18.33 |
| linux | linux_kernel | 6.15, 6.15, 6.15 |
| Linux | Linux | 858ce2f56b5253063f61f6b1c58a6dbf5d71da0b, 858ce2f56b5253063f61f6b1c58a6dbf5d71da0b, 858ce2f56b5253063f61f6b1c58a6dbf5d71da0b |
Timeline
- Jun 24, 2026 CVE Published
- Jun 25, 2026 EPSS Score (10 in total, the first dated here)
- Jun 25, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (63 in total, the first dated here)
- Aug 11, 2026 Security Advisory (63 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-53042
vulnetix vdb fixes CVE-2026-53042
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-53042/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart