CVE-2023-53167
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
15/09/2025
Last modified:
15/09/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
tracing: Fix null pointer dereference in tracing_err_log_open()<br />
<br />
Fix an issue in function &#39;tracing_err_log_open&#39;.<br />
The function doesn&#39;t call &#39;seq_open&#39; if the file is opened only with<br />
write permissions, which results in &#39;file->private_data&#39; being left as null.<br />
If we then use &#39;lseek&#39; on that opened file, &#39;seq_lseek&#39; dereferences<br />
&#39;file->private_data&#39; in &#39;mutex_lock(&m->lock)&#39;, resulting in a kernel panic.<br />
Writing to this node requires root privileges, therefore this bug<br />
has very little security impact.<br />
<br />
Tracefs node: /sys/kernel/tracing/error_log<br />
<br />
Example Kernel panic:<br />
<br />
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000038<br />
Call trace:<br />
mutex_lock+0x30/0x110<br />
seq_lseek+0x34/0xb8<br />
__arm64_sys_lseek+0x6c/0xb8<br />
invoke_syscall+0x58/0x13c<br />
el0_svc_common+0xc4/0x10c<br />
do_el0_svc+0x24/0x98<br />
el0_svc+0x24/0x88<br />
el0t_64_sync_handler+0x84/0xe4<br />
el0t_64_sync+0x1b4/0x1b8<br />
Code: d503201f aa0803e0 aa1f03e1 aa0103e9 (c8e97d02)<br />
---[ end trace 561d1b49c12cf8a5 ]---<br />
Kernel panic - not syncing: Oops: Fatal exception
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/02b0095e2fbbc060560c1065f86a211d91e27b26
- https://git.kernel.org/stable/c/1e1c9aa9288a46c342f0f2c5c0b1c0876b9b0276
- https://git.kernel.org/stable/c/3b5d9b7b875968a8a8c99dac45cb85b705c44802
- https://git.kernel.org/stable/c/7060e5aac6dc195124c106f49106d653a416323a
- https://git.kernel.org/stable/c/93114cbc7cb169f6f26eeaed5286b91bb86b463b
- https://git.kernel.org/stable/c/938d5b7a75e18264887387ddf9169db6d8aeef98