# CVE-2021-47603: audit: improve robustness of the audit queue handling

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

- **Severity:** MEDIUM 4.4
- **CVSS:** 4.4 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: High; 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-667
- **Published:** 2024-06-19T14:54:02.988Z
- **Modified:** 2026-06-17T04:18:08.613Z

## Who should check

- Anyone running Linux \>= 5b52330bbfe63b3305765354d6046c9f7f89c011, \< 75fdb751f84727d614deea0571a1490c3225d83a; \>= 5b52330bbfe63b3305765354d6046c9f7f89c011, \< 8389f50ceb854cb437fefb9330d5024ed3c7c1f5; \>= 5b52330bbfe63b3305765354d6046c9f7f89c011, \< 0d3277eabd542fb662be23696e5ec9f390d688e1; \>= 5b52330bbfe63b3305765354d6046c9f7f89c011, \< 4cc6badff97f74d0fce65f9784b5df3b64e4250b; \>= 5b52330bbfe63b3305765354d6046c9f7f89c011, \< a5f4d17daf2e6cd7c1d9676b476147f6b4ac53f2; \>= 5b52330bbfe63b3305765354d6046c9f7f89c011, \< f4b3ee3c85551d2d343a3ba159304066523f730f; a0c48115cd2343231585f2f5e609b2ac9aa4e0af; \>= 4.10.7, \< 4.11
- Anyone running Linux 4.11

## Description

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

audit: improve robustness of the audit queue handling

If the audit daemon were ever to get stuck in a stopped state the
kernel's kauditd\_thread() could get blocked attempting to send audit
records to the userspace audit daemon.  With the kernel thread
blocked it is possible that the audit queue could grow unbounded as
certain audit record generating events must be exempt from the queue
limits else the system enter a deadlock state.

This patch resolves this problem by lowering the kernel thread's
socket sending timeout from MAX\_SCHEDULE\_TIMEOUT to HZ/10 and tweaks
the kauditd\_send\_queue() function to better manage the various audit
queues when connection problems occur between the kernel and the
audit daemon.  With this patch, the backlog may temporarily grow
beyond the defined limits when the audit daemon is stopped and the
system is under heavy audit pressure, but kauditd\_thread() will
continue to make progress and drain the queues as it would for other
connection problems.  For example, with the audit daemon put into a
stopped state and the system configured to audit every syscall it
was still possible to shutdown the system without a kernel panic,
deadlock, etc.; granted, the system was slow to shutdown but that is
to be expected given the extreme pressure of recording every syscall.

The timeout value of HZ/10 was chosen primarily through
experimentation and this developer's "gut feeling".  There is likely
no one perfect value, but as this scenario is limited in scope (root
privileges would be needed to send SIGSTOP to the audit daemon), it
is likely not worth exposing this as a tunable at present.  This can
always be done at a later date if it proves necessary.

## Affected and fixed versions

- Linux: \>= 5b52330bbfe63b3305765354d6046c9f7f89c011, \< 75fdb751f84727d614deea0571a1490c3225d83a; \>= 5b52330bbfe63b3305765354d6046c9f7f89c011, \< 8389f50ceb854cb437fefb9330d5024ed3c7c1f5; \>= 5b52330bbfe63b3305765354d6046c9f7f89c011, \< 0d3277eabd542fb662be23696e5ec9f390d688e1; \>= 5b52330bbfe63b3305765354d6046c9f7f89c011, \< 4cc6badff97f74d0fce65f9784b5df3b64e4250b; \>= 5b52330bbfe63b3305765354d6046c9f7f89c011, \< a5f4d17daf2e6cd7c1d9676b476147f6b4ac53f2; \>= 5b52330bbfe63b3305765354d6046c9f7f89c011, \< f4b3ee3c85551d2d343a3ba159304066523f730f; a0c48115cd2343231585f2f5e609b2ac9aa4e0af; \>= 4.10.7, \< 4.11 (cvelist)
- Linux: 4.11 (cvelist)

## Mitigation

- Upgrade Linux to 4.11 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2021-47603.md
Affected: Linux >= 5b52330bbfe63b3305765354d6046c9f7f89c011, < 75fdb751f84727d614deea0571a1490c3225d83a; >= 5b52330bbfe63b3305765354d6046c9f7f89c011, < 8389f50ceb854cb437fefb9330d5024ed3c7c1f5; >= 5b52330bbfe63b3305765354d6046c9f7f89c011, < 0d3277eabd542fb662be23696e5ec9f390d688e1; >= 5b52330bbfe63b330576535…
Fixed in: Linux 75fdb751f84727d614deea0571a1490c3225d83a, Linux 8389f50ceb854cb437fefb9330d5024ed3c7c1f5, Linux 0d3277eabd542fb662be23696e5ec9f390d688e1, Linux 4cc6badff97f74d0fce65f9784b5df3b64e4250b, Linux 4.11

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-2021-47603 being exploited?

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

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

### Which versions are affected by CVE-2021-47603?

Linux \>= 5b52330bbfe63b3305765354d6046c9f7f89c011, \< 75fdb751f84727d614deea0571a1490c3225d83a; \>= 5b52330bbfe63b3305765354d6046c9f7f89c011, \< 8389f50ceb854cb437fefb9330d5024ed3c7c1f5; \>= 5b52330bbfe63b3305765354d6046c9f7f89c011, \< 0d3277eabd542fb662be23696e5ec9f390d688e1; \>= 5b52330bbfe63b3305765354d6046c9f7f89c011, \< 4cc6badff97f74d0fce65f9784b5df3b64e4250b; \>= 5b52330bbfe63b3305765354d6046c9f7f89c011, \< a5f4d17daf2e6cd7c1d9676b476147f6b4ac53f2; \>= 5b52330bbfe63b3305765354d6046c9f7f89c011, \< f4b3ee3c85551d2d343a3ba159304066523f730f; a0c48115cd2343231585f2f5e609b2ac9aa4e0af; \>= 4.10.7, \< 4.11; Linux 4.11.

### Is there a fix for CVE-2021-47603?

Yes. Fixed in Linux 75fdb751f84727d614deea0571a1490c3225d83a, Linux 8389f50ceb854cb437fefb9330d5024ed3c7c1f5, Linux 0d3277eabd542fb662be23696e5ec9f390d688e1, Linux 4cc6badff97f74d0fce65f9784b5df3b64e4250b, Linux 4.11. Upgrade Linux to 4.11 or later.

### How do I check if I'm affected by CVE-2021-47603?

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/75fdb751f84727d614deea0571a1490c3225d83a>
- patch: <https://git.kernel.org/stable/c/8389f50ceb854cb437fefb9330d5024ed3c7c1f5>
- patch: <https://git.kernel.org/stable/c/0d3277eabd542fb662be23696e5ec9f390d688e1>
- patch: <https://git.kernel.org/stable/c/4cc6badff97f74d0fce65f9784b5df3b64e4250b>
- patch: <https://git.kernel.org/stable/c/a5f4d17daf2e6cd7c1d9676b476147f6b4ac53f2>
- patch: <https://git.kernel.org/stable/c/f4b3ee3c85551d2d343a3ba159304066523f730f>

## 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-2021-47603>

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