# CVE-2023-53480: kobject: Add sanity check for kset-\>kobj.ktype in kset\_register()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-10-01T11:42:48.919Z
- **Modified:** 2026-11-05T21:17:22.357Z

## Who should check

- Anyone running Linux \>= 5f81880d5204ee2388fd9a75bb850ccd526885b7, \< 039ec9db2d30032eafa365f5f89b30eca5322b05; \>= 5f81880d5204ee2388fd9a75bb850ccd526885b7, \< 964e025ceefdf75da46b0133d0c2790de451aeec; \>= 5f81880d5204ee2388fd9a75bb850ccd526885b7, \< 5df5829158513134ddcaf2184d9286eda7b0bb18; \>= 5f81880d5204ee2388fd9a75bb850ccd526885b7, \< f3f6bf22a4f5ba649cf26ae4670de5c7f861bdef; \>= 5f81880d5204ee2388fd9a75bb850ccd526885b7, \< 48aebbe801e78a8932404c122ed0e880ccedc220; \>= 5f81880d5204ee2388fd9a75bb850ccd526885b7, \< 1a772881bc059c596d8ca587cbd2a233edce3d3b; \>= 5f81880d5204ee2388fd9a75bb850ccd526885b7, \< 4d0fe8c52bb3029d83e323c961221156ab98680b
- Anyone running Linux 4.19

## 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.

## Affected and fixed versions

- Linux: \>= 5f81880d5204ee2388fd9a75bb850ccd526885b7, \< 039ec9db2d30032eafa365f5f89b30eca5322b05; \>= 5f81880d5204ee2388fd9a75bb850ccd526885b7, \< 964e025ceefdf75da46b0133d0c2790de451aeec; \>= 5f81880d5204ee2388fd9a75bb850ccd526885b7, \< 5df5829158513134ddcaf2184d9286eda7b0bb18; \>= 5f81880d5204ee2388fd9a75bb850ccd526885b7, \< f3f6bf22a4f5ba649cf26ae4670de5c7f861bdef; \>= 5f81880d5204ee2388fd9a75bb850ccd526885b7, \< 48aebbe801e78a8932404c122ed0e880ccedc220; \>= 5f81880d5204ee2388fd9a75bb850ccd526885b7, \< 1a772881bc059c596d8ca587cbd2a233edce3d3b; \>= 5f81880d5204ee2388fd9a75bb850ccd526885b7, \< 4d0fe8c52bb3029d83e323c961221156ab98680b (cvelist)
- Linux: 4.19 (cvelist)

## Mitigation

- Upgrade Linux to 4d0fe8c52bb3029d83e323c961221156ab98680b or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53480. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53480.md
Affected: Linux >= 5f81880d5204ee2388fd9a75bb850ccd526885b7, < 039ec9db2d30032eafa365f5f89b30eca5322b05; >= 5f81880d5204ee2388fd9a75bb850ccd526885b7, < 964e025ceefdf75da46b0133d0c2790de451aeec; >= 5f81880d5204ee2388fd9a75bb850ccd526885b7, < 5df5829158513134ddcaf2184d9286eda7b0bb18; >= 5f81880d5204ee2388fd9a7…
Fixed in: Linux 039ec9db2d30032eafa365f5f89b30eca5322b05, Linux 964e025ceefdf75da46b0133d0c2790de451aeec, Linux 5df5829158513134ddcaf2184d9286eda7b0bb18, Linux 48aebbe801e78a8932404c122ed0e880ccedc220, Linux 1a772881bc059c596d8ca587cbd2a233edce3d3b, Linux 4d0fe8c52bb3029d83e323c961221156ab98680b

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.
```

## FAQ

### Is CVE-2023-53480 being exploited?

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

### How serious is CVE-2023-53480?

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

### Which versions are affected by CVE-2023-53480?

Linux \>= 5f81880d5204ee2388fd9a75bb850ccd526885b7, \< 039ec9db2d30032eafa365f5f89b30eca5322b05; \>= 5f81880d5204ee2388fd9a75bb850ccd526885b7, \< 964e025ceefdf75da46b0133d0c2790de451aeec; \>= 5f81880d5204ee2388fd9a75bb850ccd526885b7, \< 5df5829158513134ddcaf2184d9286eda7b0bb18; \>= 5f81880d5204ee2388fd9a75bb850ccd526885b7, \< f3f6bf22a4f5ba649cf26ae4670de5c7f861bdef; \>= 5f81880d5204ee2388fd9a75bb850ccd526885b7, \< 48aebbe801e78a8932404c122ed0e880ccedc220; \>= 5f81880d5204ee2388fd9a75bb850ccd526885b7, \< 1a772881bc059c596d8ca587cbd2a233edce3d3b; \>= 5f81880d5204ee2388fd9a75bb850ccd526885b7, \< 4d0fe8c52bb3029d83e323c961221156ab98680b; Linux 4.19.

### Is there a fix for CVE-2023-53480?

Yes. Fixed in Linux 039ec9db2d30032eafa365f5f89b30eca5322b05, Linux 964e025ceefdf75da46b0133d0c2790de451aeec, Linux 5df5829158513134ddcaf2184d9286eda7b0bb18, Linux 48aebbe801e78a8932404c122ed0e880ccedc220, Linux 1a772881bc059c596d8ca587cbd2a233edce3d3b, Linux 4d0fe8c52bb3029d83e323c961221156ab98680b. Upgrade Linux to 4d0fe8c52bb3029d83e323c961221156ab98680b or later.

### How do I check if I'm affected by CVE-2023-53480?

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.

## References

- patch: <https://git.kernel.org/stable/c/039ec9db2d30032eafa365f5f89b30eca5322b05>
- patch: <https://git.kernel.org/stable/c/964e025ceefdf75da46b0133d0c2790de451aeec>
- patch: <https://git.kernel.org/stable/c/5df5829158513134ddcaf2184d9286eda7b0bb18>
- patch: <https://git.kernel.org/stable/c/f3f6bf22a4f5ba649cf26ae4670de5c7f861bdef>
- patch: <https://git.kernel.org/stable/c/48aebbe801e78a8932404c122ed0e880ccedc220>
- patch: <https://git.kernel.org/stable/c/1a772881bc059c596d8ca587cbd2a233edce3d3b>
- patch: <https://git.kernel.org/stable/c/4d0fe8c52bb3029d83e323c961221156ab98680b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53480>

HTML: <https://flawdb.com/CVE-2023-53480> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53480>
