# CVE-2023-53167: tracing: Fix null pointer dereference in tracing\_err\_log\_open()

> 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.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-09-15T14:03:56.025Z
- **Modified:** 2026-11-05T21:17:17.490Z

## Who should check

- Anyone running Linux \>= 8a062902be725f647dc8da532b04d836546a369a, \< 93114cbc7cb169f6f26eeaed5286b91bb86b463b; \>= 8a062902be725f647dc8da532b04d836546a369a, \< 7060e5aac6dc195124c106f49106d653a416323a; \>= 8a062902be725f647dc8da532b04d836546a369a, \< 3b5d9b7b875968a8a8c99dac45cb85b705c44802; \>= 8a062902be725f647dc8da532b04d836546a369a, \< 938d5b7a75e18264887387ddf9169db6d8aeef98; \>= 8a062902be725f647dc8da532b04d836546a369a, \< 1e1c9aa9288a46c342f0f2c5c0b1c0876b9b0276; \>= 8a062902be725f647dc8da532b04d836546a369a, \< 02b0095e2fbbc060560c1065f86a211d91e27b26
- Anyone running Linux 5.2

## Description

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

tracing: Fix null pointer dereference in tracing\_err\_log\_open()

Fix an issue in function 'tracing\_err\_log\_open'.
The function doesn't call 'seq\_open' if the file is opened only with
write permissions, which results in 'file-\>private\_data' being left as null.
If we then use 'lseek' on that opened file, 'seq\_lseek' dereferences
'file-\>private\_data' in 'mutex\_lock(&m-\>lock)', resulting in a kernel panic.
Writing to this node requires root privileges, therefore this bug
has very little security impact.

Tracefs node: /sys/kernel/tracing/error\_log

Example Kernel panic:

Unable to handle kernel NULL pointer dereference at virtual address 0000000000000038
Call trace:
 mutex\_lock+0x30/0x110
 seq\_lseek+0x34/0xb8
 \_\_arm64\_sys\_lseek+0x6c/0xb8
 invoke\_syscall+0x58/0x13c
 el0\_svc\_common+0xc4/0x10c
 do\_el0\_svc+0x24/0x98
 el0\_svc+0x24/0x88
 el0t\_64\_sync\_handler+0x84/0xe4
 el0t\_64\_sync+0x1b4/0x1b8
Code: d503201f aa0803e0 aa1f03e1 aa0103e9 (c8e97d02)
---\[ end trace 561d1b49c12cf8a5 \]---
Kernel panic - not syncing: Oops: Fatal exception

## Affected and fixed versions

- Linux: \>= 8a062902be725f647dc8da532b04d836546a369a, \< 93114cbc7cb169f6f26eeaed5286b91bb86b463b; \>= 8a062902be725f647dc8da532b04d836546a369a, \< 7060e5aac6dc195124c106f49106d653a416323a; \>= 8a062902be725f647dc8da532b04d836546a369a, \< 3b5d9b7b875968a8a8c99dac45cb85b705c44802; \>= 8a062902be725f647dc8da532b04d836546a369a, \< 938d5b7a75e18264887387ddf9169db6d8aeef98; \>= 8a062902be725f647dc8da532b04d836546a369a, \< 1e1c9aa9288a46c342f0f2c5c0b1c0876b9b0276; \>= 8a062902be725f647dc8da532b04d836546a369a, \< 02b0095e2fbbc060560c1065f86a211d91e27b26 (cvelist)
- Linux: 5.2 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2023-53167.md
Affected: Linux >= 8a062902be725f647dc8da532b04d836546a369a, < 93114cbc7cb169f6f26eeaed5286b91bb86b463b; >= 8a062902be725f647dc8da532b04d836546a369a, < 7060e5aac6dc195124c106f49106d653a416323a; >= 8a062902be725f647dc8da532b04d836546a369a, < 3b5d9b7b875968a8a8c99dac45cb85b705c44802; >= 8a062902be725f647dc8da5…
Fixed in: Linux 93114cbc7cb169f6f26eeaed5286b91bb86b463b, Linux 7060e5aac6dc195124c106f49106d653a416323a, Linux 3b5d9b7b875968a8a8c99dac45cb85b705c44802, Linux 938d5b7a75e18264887387ddf9169db6d8aeef98, Linux 1e1c9aa9288a46c342f0f2c5c0b1c0876b9b0276, Linux 02b0095e2fbbc060560c1065f86a211d91e27b26

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

There is no confirmed exploitation: CVE-2023-53167 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-53167?

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

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

Linux \>= 8a062902be725f647dc8da532b04d836546a369a, \< 93114cbc7cb169f6f26eeaed5286b91bb86b463b; \>= 8a062902be725f647dc8da532b04d836546a369a, \< 7060e5aac6dc195124c106f49106d653a416323a; \>= 8a062902be725f647dc8da532b04d836546a369a, \< 3b5d9b7b875968a8a8c99dac45cb85b705c44802; \>= 8a062902be725f647dc8da532b04d836546a369a, \< 938d5b7a75e18264887387ddf9169db6d8aeef98; \>= 8a062902be725f647dc8da532b04d836546a369a, \< 1e1c9aa9288a46c342f0f2c5c0b1c0876b9b0276; \>= 8a062902be725f647dc8da532b04d836546a369a, \< 02b0095e2fbbc060560c1065f86a211d91e27b26; Linux 5.2.

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

Yes. Fixed in Linux 93114cbc7cb169f6f26eeaed5286b91bb86b463b, Linux 7060e5aac6dc195124c106f49106d653a416323a, Linux 3b5d9b7b875968a8a8c99dac45cb85b705c44802, Linux 938d5b7a75e18264887387ddf9169db6d8aeef98, Linux 1e1c9aa9288a46c342f0f2c5c0b1c0876b9b0276, Linux 02b0095e2fbbc060560c1065f86a211d91e27b26. Upgrade Linux to 02b0095e2fbbc060560c1065f86a211d91e27b26 or later.

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

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/93114cbc7cb169f6f26eeaed5286b91bb86b463b>
- patch: <https://git.kernel.org/stable/c/7060e5aac6dc195124c106f49106d653a416323a>
- patch: <https://git.kernel.org/stable/c/3b5d9b7b875968a8a8c99dac45cb85b705c44802>
- patch: <https://git.kernel.org/stable/c/938d5b7a75e18264887387ddf9169db6d8aeef98>
- patch: <https://git.kernel.org/stable/c/1e1c9aa9288a46c342f0f2c5c0b1c0876b9b0276>
- patch: <https://git.kernel.org/stable/c/02b0095e2fbbc060560c1065f86a211d91e27b26>

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

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