# CVE-2023-54045: audit: fix possible soft lockup in \_\_audit\_inode\_child()

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.32% (percentile 18, 2026-11-26)
- **Published:** 2025-12-24T12:22:56.742Z
- **Modified:** 2026-06-17T06:46:42.303Z

## Who should check

- Anyone running Linux \>= 5195d8e217a78697152d64fc09a16e063a022465, \< d061e2bfc20f2914656385816e0d20566213c54c; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< 1640c7bd4eddec6c72f3a99cbb74e333a2ce9f5d; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< f6364fa751d7486502c777f124a14d4d543fc5eb; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< 98ef243d5900d75a64539a2165745bffbb155d43; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< 0152e7758cc4e9f8bfba8dbea4438d8e488d6c08; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< 9ca08adb75fb40a8f742c371927ee73f9dc753bf; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< 8a40b491372966ba5426e138a53460985565d5a6; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< 8e76b944a7b9bddef190ffe2e29c9ae342ab91ed; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< b59bc6e37237e37eadf50cd5de369e913f524463
- Anyone running Linux 3.3

## Description

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

audit: fix possible soft lockup in \_\_audit\_inode\_child()

Tracefs or debugfs maybe cause hundreds to thousands of PATH records,
too many PATH records maybe cause soft lockup.

For example:
  1. CONFIG\_KASAN=y && CONFIG\_PREEMPTION=n
  2. auditctl -a exit,always -S open -k key
  3. sysctl -w kernel.watchdog\_thresh=5
  4. mkdir /sys/kernel/debug/tracing/instances/test

There may be a soft lockup as follows:
  watchdog: BUG: soft lockup - CPU\#45 stuck for 7s! \[mkdir:15498\]
  Kernel panic - not syncing: softlockup: hung tasks
  Call trace:
   dump\_backtrace+0x0/0x30c
   show\_stack+0x20/0x30
   dump\_stack+0x11c/0x174
   panic+0x27c/0x494
   watchdog\_timer\_fn+0x2bc/0x390
   \_\_run\_hrtimer+0x148/0x4fc
   \_\_hrtimer\_run\_queues+0x154/0x210
   hrtimer\_interrupt+0x2c4/0x760
   arch\_timer\_handler\_phys+0x48/0x60
   handle\_percpu\_devid\_irq+0xe0/0x340
   \_\_handle\_domain\_irq+0xbc/0x130
   gic\_handle\_irq+0x78/0x460
   el1\_irq+0xb8/0x140
   \_\_audit\_inode\_child+0x240/0x7bc
   tracefs\_create\_file+0x1b8/0x2a0
   trace\_create\_file+0x18/0x50
   event\_create\_dir+0x204/0x30c
   \_\_trace\_add\_new\_event+0xac/0x100
   event\_trace\_add\_tracer+0xa0/0x130
   trace\_array\_create\_dir+0x60/0x140
   trace\_array\_create+0x1e0/0x370
   instance\_mkdir+0x90/0xd0
   tracefs\_syscall\_mkdir+0x68/0xa0
   vfs\_mkdir+0x21c/0x34c
   do\_mkdirat+0x1b4/0x1d4
   \_\_arm64\_sys\_mkdirat+0x4c/0x60
   el0\_svc\_common.constprop.0+0xa8/0x240
   do\_el0\_svc+0x8c/0xc0
   el0\_svc+0x20/0x30
   el0\_sync\_handler+0xb0/0xb4
   el0\_sync+0x160/0x180

Therefore, we add cond\_resched() to \_\_audit\_inode\_child() to fix it.

## Affected and fixed versions

- Linux: \>= 5195d8e217a78697152d64fc09a16e063a022465, \< d061e2bfc20f2914656385816e0d20566213c54c; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< 1640c7bd4eddec6c72f3a99cbb74e333a2ce9f5d; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< f6364fa751d7486502c777f124a14d4d543fc5eb; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< 98ef243d5900d75a64539a2165745bffbb155d43; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< 0152e7758cc4e9f8bfba8dbea4438d8e488d6c08; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< 9ca08adb75fb40a8f742c371927ee73f9dc753bf; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< 8a40b491372966ba5426e138a53460985565d5a6; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< 8e76b944a7b9bddef190ffe2e29c9ae342ab91ed; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< b59bc6e37237e37eadf50cd5de369e913f524463 (cvelist)
- Linux: 3.3 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-54045.md
Affected: Linux >= 5195d8e217a78697152d64fc09a16e063a022465, < d061e2bfc20f2914656385816e0d20566213c54c; >= 5195d8e217a78697152d64fc09a16e063a022465, < 1640c7bd4eddec6c72f3a99cbb74e333a2ce9f5d; >= 5195d8e217a78697152d64fc09a16e063a022465, < f6364fa751d7486502c777f124a14d4d543fc5eb; >= 5195d8e217a78697152d64f…
Fixed in: Linux 1640c7bd4eddec6c72f3a99cbb74e333a2ce9f5d, Linux 98ef243d5900d75a64539a2165745bffbb155d43, Linux 0152e7758cc4e9f8bfba8dbea4438d8e488d6c08, Linux 9ca08adb75fb40a8f742c371927ee73f9dc753bf, Linux 8a40b491372966ba5426e138a53460985565d5a6, Linux 8e76b944a7b9bddef190ffe2e29c9ae342ab91ed

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 5195d8e217a78697152d64fc09a16e063a022465, \< d061e2bfc20f2914656385816e0d20566213c54c; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< 1640c7bd4eddec6c72f3a99cbb74e333a2ce9f5d; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< f6364fa751d7486502c777f124a14d4d543fc5eb; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< 98ef243d5900d75a64539a2165745bffbb155d43; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< 0152e7758cc4e9f8bfba8dbea4438d8e488d6c08; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< 9ca08adb75fb40a8f742c371927ee73f9dc753bf; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< 8a40b491372966ba5426e138a53460985565d5a6; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< 8e76b944a7b9bddef190ffe2e29c9ae342ab91ed; \>= 5195d8e217a78697152d64fc09a16e063a022465, \< b59bc6e37237e37eadf50cd5de369e913f524463; Linux 3.3.

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

Yes. Fixed in Linux 1640c7bd4eddec6c72f3a99cbb74e333a2ce9f5d, Linux 98ef243d5900d75a64539a2165745bffbb155d43, Linux 0152e7758cc4e9f8bfba8dbea4438d8e488d6c08, Linux 9ca08adb75fb40a8f742c371927ee73f9dc753bf, Linux 8a40b491372966ba5426e138a53460985565d5a6, Linux 8e76b944a7b9bddef190ffe2e29c9ae342ab91ed. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/d061e2bfc20f2914656385816e0d20566213c54c>
- other: <https://git.kernel.org/stable/c/1640c7bd4eddec6c72f3a99cbb74e333a2ce9f5d>
- other: <https://git.kernel.org/stable/c/f6364fa751d7486502c777f124a14d4d543fc5eb>
- other: <https://git.kernel.org/stable/c/98ef243d5900d75a64539a2165745bffbb155d43>
- other: <https://git.kernel.org/stable/c/0152e7758cc4e9f8bfba8dbea4438d8e488d6c08>
- other: <https://git.kernel.org/stable/c/9ca08adb75fb40a8f742c371927ee73f9dc753bf>
- other: <https://git.kernel.org/stable/c/8a40b491372966ba5426e138a53460985565d5a6>
- other: <https://git.kernel.org/stable/c/8e76b944a7b9bddef190ffe2e29c9ae342ab91ed>
- other: <https://git.kernel.org/stable/c/b59bc6e37237e37eadf50cd5de369e913f524463>

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

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