CVE-2023-53480

kobject: Add sanity check for kset->kobj.ktype in kset_register()

No CVSS score yet EPSS 0.17%

Published 1 Oct 2025 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2023-53480

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53480 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

kobject: Add sanity check for kset->kobj.ktype in kset_register()

When I register a kset in the following way: static struct kset my_kset; kobject_set_name(&my_kset.kobj, "my_kset"); ret = kset_register(&my_kset);

A null pointer dereference exception is occurred: [ 4453.568337] Unable to handle kernel NULL pointer dereference at \ virtual address 0000000000000028 ... ... [ 4453.810361] Call trace: [ 4453.813062] kobject_get_ownership+0xc/0x34 [ 4453.817493] kobject_add_internal+0x98/0x274 [ 4453.822005] kset_register+0x5c/0xb4 [ 4453.825820] my_kobj_init+0x44/0x1000 [my_kset] ... ...

Because I didn't initialize my_kset.kobj.ktype.

According to the description in Documentation/core-api/kobject.rst: - A ktype is the type of object that embeds a kobject. Every structure that embeds a kobject needs a corresponding ktype.

So add sanity check to make sure kset->kobj.ktype is not NULL.

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.42% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 5f81880d5204ee2388fd9a75bb850ccd526885b7, before 039ec9db2d30032eafa365f5f89b30eca5322b05
affected from 5f81880d5204ee2388fd9a75bb850ccd526885b7, before 964e025ceefdf75da46b0133d0c2790de451aeec
affected from 5f81880d5204ee2388fd9a75bb850ccd526885b7, before 5df5829158513134ddcaf2184d9286eda7b0bb18
affected from 5f81880d5204ee2388fd9a75bb850ccd526885b7, before f3f6bf22a4f5ba649cf26ae4670de5c7f861bdef
affected from 5f81880d5204ee2388fd9a75bb850ccd526885b7, before 48aebbe801e78a8932404c122ed0e880ccedc220
affected from 5f81880d5204ee2388fd9a75bb850ccd526885b7, before 1a772881bc059c596d8ca587cbd2a233edce3d3b
affected from 5f81880d5204ee2388fd9a75bb850ccd526885b7, before 4d0fe8c52bb3029d83e323c961221156ab98680b
Other versions: unaffected
Linux
affected 4.19
unaffected before 4.19
unaffected from 4.19.295 up to and including 4.19.*
unaffected from 5.4.257 up to and including 5.4.*
unaffected from 5.10.197 up to and including 5.10.*
unaffected from 5.15.133 up to and including 5.15.*
unaffected from 6.1.55 up to and including 6.1.*
unaffected from 6.5.5 up to and including 6.5.*
unaffected 6.6 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53480 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53480

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-53480
trivy image --scanners vuln IMAGE | grep CVE-2023-53480

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-53480 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.