CVE-2026-53042

Source
https://cve.org/CVERecord?id=CVE-2026-53042
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53042.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-53042
Downstream
Published
2026-06-24T16:29:48.273Z
Modified
2026-07-16T03:30:49.844732458Z
Summary
fwctl: Fix class init ordering to avoid NULL pointer dereference on device removal
Details

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 cxlpcidriverinit()runs first. Whencxlpciprobe()calls fwctlregister()and thendeviceadd(), fwctl_class is not yet registered because fwctl_init() hasn't run, causingclasstosubsys()` to return NULL and skip knodeclass 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53042.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
858ce2f56b5253063f61f6b1c58a6dbf5d71da0b
Fixed
a28f56988c8e5bb9375806a5cfb0bf54d662ae3f
Fixed
1075f2f590fdac147f8b8010c35b606564b5c7d7
Fixed
a55f80233f384dc89ef3425b2e1dd0e6d44bcf29

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53042.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.15.0
Fixed
6.18.33
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53042.json"