4.4

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

Modified
AliasesUBUNTU-CVE-2021-47603DEBIAN-CVE-2021-47603
Published 19-06-2024Last modified 23-05-2026

Vulnerability summary

CVE-2021-47603 is a medium (CVSS 4.4) Improper Locking vulnerability in linux. EPSS estimates a 0.18% chance of exploitation in the next 30 days, higher than 7.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
4.4/10
010
Medium · v3.1 (NVD)
EPSS score
0.18%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 8 · Related 8

Timeline

  1. 19-06-2024
    PublishedVulnerability first disclosed.
  2. 23-05-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.18%

Chance of exploitation in the next 30 days

Percentile

8%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.18% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu87 products
  • linux< 4.15.0-169.177 | < 5.4.0-105.119
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 4.15.0-1121.129 | < 5.4.0-1069.73
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 5b52330bbfe63b3305765354d6046c9f7f89c011, < 75fdb751f84727d614deea0571a1490c3225d83a | ≥ 5b52330bbfe63b3305765354d6046c9f7f89c011, < 8389f50ceb854cb437fefb9330d5024ed3c7c1f5 | ≥ 5b52330bbfe63b3305765354d6046c9f7f89c011, < 0d3277eabd542fb662be23696e5ec9f390d688e1 | ≥ 5b52330bbfe63b3305765354d6046c9f7f89c011, < 4cc6badff97f74d0fce65f9784b5df3b64e4250b | ≥ 5b52330bbfe63b3305765354d6046c9f7f89c011, < a5f4d17daf2e6cd7c1d9676b476147f6b4ac53f2 | ≥ 5b52330bbfe63b3305765354d6046c9f7f89c011, < f4b3ee3c85551d2d343a3ba159304066523f730f | a0c48115cd2343231585f2f5e609b2ac9aa4e0af | ≥ 4.10.7, < 4.11 | 4.11
  • linux_kernel≥ 4.10.7, < 4.11 | ≥ 4.11, < 4.14.259 | ≥ 4.15, < 4.19.222 | ≥ 4.20, < 5.4.168 | ≥ 5.5, < 5.10.88 | ≥ 5.11, < 5.15.11 | 5.16:rc1 | 5.16:rc2 | 5.16:rc3 | 5.16:rc4 | 5.16:rc5
Debian1 product
  • linux< 5.15.15-1

3 vendors · 90 products

References

10 links