4.4
MEDIUM
CVE-2021-47603
"IBM Linux Kernel Audit Daemon Resource Exhaustion Vulnerability"
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.

INFO

Published Date :

June 19, 2024, 3:15 p.m.

Last Modified :

Nov. 21, 2024, 6:36 a.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

0.8
Affected Products

The following products are affected by CVE-2021-47603 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-47603 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-47603 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/0d3277eabd542fb662be23696e5ec9f390d688e1
    Added Reference https://git.kernel.org/stable/c/4cc6badff97f74d0fce65f9784b5df3b64e4250b
    Added Reference https://git.kernel.org/stable/c/75fdb751f84727d614deea0571a1490c3225d83a
    Added Reference https://git.kernel.org/stable/c/8389f50ceb854cb437fefb9330d5024ed3c7c1f5
    Added Reference https://git.kernel.org/stable/c/a5f4d17daf2e6cd7c1d9676b476147f6b4ac53f2
    Added Reference https://git.kernel.org/stable/c/f4b3ee3c85551d2d343a3ba159304066523f730f
  • Initial Analysis by [email protected]

    Oct. 31, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://git.kernel.org/stable/c/0d3277eabd542fb662be23696e5ec9f390d688e1 No Types Assigned https://git.kernel.org/stable/c/0d3277eabd542fb662be23696e5ec9f390d688e1 Patch
    Changed Reference Type https://git.kernel.org/stable/c/4cc6badff97f74d0fce65f9784b5df3b64e4250b No Types Assigned https://git.kernel.org/stable/c/4cc6badff97f74d0fce65f9784b5df3b64e4250b Patch
    Changed Reference Type https://git.kernel.org/stable/c/75fdb751f84727d614deea0571a1490c3225d83a No Types Assigned https://git.kernel.org/stable/c/75fdb751f84727d614deea0571a1490c3225d83a Patch
    Changed Reference Type https://git.kernel.org/stable/c/8389f50ceb854cb437fefb9330d5024ed3c7c1f5 No Types Assigned https://git.kernel.org/stable/c/8389f50ceb854cb437fefb9330d5024ed3c7c1f5 Patch
    Changed Reference Type https://git.kernel.org/stable/c/a5f4d17daf2e6cd7c1d9676b476147f6b4ac53f2 No Types Assigned https://git.kernel.org/stable/c/a5f4d17daf2e6cd7c1d9676b476147f6b4ac53f2 Patch
    Changed Reference Type https://git.kernel.org/stable/c/f4b3ee3c85551d2d343a3ba159304066523f730f No Types Assigned https://git.kernel.org/stable/c/f4b3ee3c85551d2d343a3ba159304066523f730f Patch
    Added CWE NIST CWE-667
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.10.7 up to (excluding) 4.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.11 up to (excluding) 4.14.259 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 4.19.222 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.168 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.88 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.11 *cpe:2.3:o:linux:linux_kernel:5.16:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.16:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.16:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.16:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.16:rc5:*:*:*:*:*:*
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 19, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference kernel.org https://git.kernel.org/stable/c/75fdb751f84727d614deea0571a1490c3225d83a [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/8389f50ceb854cb437fefb9330d5024ed3c7c1f5 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/0d3277eabd542fb662be23696e5ec9f390d688e1 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/4cc6badff97f74d0fce65f9784b5df3b64e4250b [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/a5f4d17daf2e6cd7c1d9676b476147f6b4ac53f2 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/f4b3ee3c85551d2d343a3ba159304066523f730f [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-47603 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-47603 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: May. 13, 2025 21:57