CVE-2023-53167
tracing: Fix null pointer dereference in tracing_err_log_open()
Check your servers for CVE-2023-53167
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-53167 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.
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
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.23% 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.
| Product | Versions |
|---|---|
| Linux |
affected from 8a062902be725f647dc8da532b04d836546a369a, before 93114cbc7cb169f6f26eeaed5286b91bb86b463b affected from 8a062902be725f647dc8da532b04d836546a369a, before 7060e5aac6dc195124c106f49106d653a416323a affected from 8a062902be725f647dc8da532b04d836546a369a, before 3b5d9b7b875968a8a8c99dac45cb85b705c44802 affected from 8a062902be725f647dc8da532b04d836546a369a, before 938d5b7a75e18264887387ddf9169db6d8aeef98 affected from 8a062902be725f647dc8da532b04d836546a369a, before 1e1c9aa9288a46c342f0f2c5c0b1c0876b9b0276 affected from 8a062902be725f647dc8da532b04d836546a369a, before 02b0095e2fbbc060560c1065f86a211d91e27b26
Other versions: unaffected
|
| Linux |
affected 5.2 unaffected before 5.2 unaffected from 5.4.251 up to and including 5.4.* unaffected from 5.10.188 up to and including 5.10.* unaffected from 5.15.121 up to and including 5.15.* unaffected from 6.1.40 up to and including 6.1.* unaffected from 6.4.5 up to and including 6.4.* unaffected 6.5 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-53167 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53167
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-53167
trivy image --scanners vuln IMAGE | grep CVE-2023-53167
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
- https://git.kernel.org/stable/c/93114cbc7cb169f6f26eeaed5286b91bb86b463b git.kernel.org
- https://git.kernel.org/stable/c/7060e5aac6dc195124c106f49106d653a416323a git.kernel.org
- https://git.kernel.org/stable/c/3b5d9b7b875968a8a8c99dac45cb85b705c44802 git.kernel.org
- https://git.kernel.org/stable/c/938d5b7a75e18264887387ddf9169db6d8aeef98 git.kernel.org
- https://git.kernel.org/stable/c/1e1c9aa9288a46c342f0f2c5c0b1c0876b9b0276 git.kernel.org
- https://git.kernel.org/stable/c/02b0095e2fbbc060560c1065f86a211d91e27b26 git.kernel.org
Source: the record CVE-2023-53167 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.
Vulnpocalypse