# CVE-2023-53260: ovl: fix null pointer dereference in ovl\_permission()

> 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, CNA) `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.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-09-15T14:46:31.919Z
- **Modified:** 2026-06-17T06:44:39.787Z

## Who should check

- Anyone running Linux \>= 4b7791b2e95805eaa9568761741d33cf929c930c, \< 53dd2ca2c02fdcfe3aad2345091d371063f97d17; \>= 4b7791b2e95805eaa9568761741d33cf929c930c, \< 69f9ae7edf9ec0ff500429101923347fcba5c8c4; \>= 4b7791b2e95805eaa9568761741d33cf929c930c, \< 1a73f5b8f079fd42a544c1600beface50c63af7c
- Anyone running Linux 5.19

## Description

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

ovl: fix null pointer dereference in ovl\_permission()

Following process:
          P1                     P2
 path\_lookupat
  link\_path\_walk
   inode\_permission
    ovl\_permission
      ovl\_i\_path\_real(inode, &realpath)
        path-\>dentry = ovl\_i\_dentry\_upper(inode)
                          drop\_cache
			   \_\_dentry\_kill(ovl\_dentry)
		            iput(ovl\_inode)
		             ovl\_destroy\_inode(ovl\_inode)
		              dput(oi-\>\_\_upperdentry)
		               dentry\_kill(upperdentry)
		                dentry\_unlink\_inode
				 upperdentry-\>d\_inode = NULL
      realinode = d\_inode(realpath.dentry) // return NULL
      inode\_permission(realinode)
       inode-\>i\_sb  // NULL pointer dereference
, will trigger an null pointer dereference at realinode:
  \[  335.664979\] BUG: kernel NULL pointer dereference,
                 address: 0000000000000002
  \[  335.668032\] CPU: 0 PID: 2592 Comm: ls Not tainted 6.3.0
  \[  335.669956\] RIP: 0010:inode\_permission+0x33/0x2c0
  \[  335.678939\] Call Trace:
  \[  335.679165\]  \<TASK\>
  \[  335.679371\]  ovl\_permission+0xde/0x320
  \[  335.679723\]  inode\_permission+0x15e/0x2c0
  \[  335.680090\]  link\_path\_walk+0x115/0x550
  \[  335.680771\]  path\_lookupat.isra.0+0xb2/0x200
  \[  335.681170\]  filename\_lookup+0xda/0x240
  \[  335.681922\]  vfs\_statx+0xa6/0x1f0
  \[  335.682233\]  vfs\_fstatat+0x7b/0xb0

Fetch a reproducer in \[Link\].

Use the helper ovl\_i\_path\_realinode() to get realinode and then do
non-nullptr checking.

## Affected and fixed versions

- Linux: \>= 4b7791b2e95805eaa9568761741d33cf929c930c, \< 53dd2ca2c02fdcfe3aad2345091d371063f97d17; \>= 4b7791b2e95805eaa9568761741d33cf929c930c, \< 69f9ae7edf9ec0ff500429101923347fcba5c8c4; \>= 4b7791b2e95805eaa9568761741d33cf929c930c, \< 1a73f5b8f079fd42a544c1600beface50c63af7c (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- Upgrade Linux to 1a73f5b8f079fd42a544c1600beface50c63af7c 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-53260. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53260.md
Affected: Linux >= 4b7791b2e95805eaa9568761741d33cf929c930c, < 53dd2ca2c02fdcfe3aad2345091d371063f97d17; >= 4b7791b2e95805eaa9568761741d33cf929c930c, < 69f9ae7edf9ec0ff500429101923347fcba5c8c4; >= 4b7791b2e95805eaa9568761741d33cf929c930c, < 1a73f5b8f079fd42a544c1600beface50c63af7c; Linux 5.19
Fixed in: Linux 53dd2ca2c02fdcfe3aad2345091d371063f97d17, Linux 69f9ae7edf9ec0ff500429101923347fcba5c8c4, Linux 1a73f5b8f079fd42a544c1600beface50c63af7c

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-53260 being exploited?

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

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

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

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

Linux \>= 4b7791b2e95805eaa9568761741d33cf929c930c, \< 53dd2ca2c02fdcfe3aad2345091d371063f97d17; \>= 4b7791b2e95805eaa9568761741d33cf929c930c, \< 69f9ae7edf9ec0ff500429101923347fcba5c8c4; \>= 4b7791b2e95805eaa9568761741d33cf929c930c, \< 1a73f5b8f079fd42a544c1600beface50c63af7c; Linux 5.19.

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

Yes. Fixed in Linux 53dd2ca2c02fdcfe3aad2345091d371063f97d17, Linux 69f9ae7edf9ec0ff500429101923347fcba5c8c4, Linux 1a73f5b8f079fd42a544c1600beface50c63af7c. Upgrade Linux to 1a73f5b8f079fd42a544c1600beface50c63af7c or later.

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

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/53dd2ca2c02fdcfe3aad2345091d371063f97d17>
- patch: <https://git.kernel.org/stable/c/69f9ae7edf9ec0ff500429101923347fcba5c8c4>
- patch: <https://git.kernel.org/stable/c/1a73f5b8f079fd42a544c1600beface50c63af7c>

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

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