Menu

Star on GitHub · 3.2k

CVE-2021-47375

6.2 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: blktrace: Fix uaf in blk_trace access after removing by sysfs There is an use-after-free problem triggered by following process…

Published May 21, 2024CWE-416EPSS 0.25%

Overview

CVE-2021-47375 is a medium-severity vulnerability. It was published on May 21, 2024 and has a CVSS 3.1 base score of 6.2 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.2, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical description

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

blktrace: Fix uaf in blk_trace access after removing by sysfs

There is an use-after-free problem triggered by following process:

P1(sda) P2(sdb)

echo 0 > /sys/block/sdb/trace/enable

blk_trace_remove_queue

synchronize_rcu

blk_trace_free

relay_close

rcu_read_lock

__blk_add_trace

trace_note_tsk

(Iterate running_trace_list)

relay_close_buf

relay_destroy_buf

kfree(buf)

trace_note(sdb's bt)

relay_reserve

buf->offset <- nullptr deference (use-after-free) !!!

rcu_read_unlock

[ 502.714379] BUG: kernel NULL pointer dereference, address:

0000000000000010

[ 502.715260] #PF: supervisor read access in kernel mode

[ 502.715903] #PF: error_code(0x0000) - not-present page

[ 502.716546] PGD 103984067 P4D 103984067 PUD 17592b067 PMD 0

[ 502.717252] Oops: 0000 [#1] SMP

[ 502.720308] RIP: 0010:trace_note.isra.0+0x86/0x360

[ 502.732872] Call Tr

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2021-47375?

CVE-2021-47375 is a medium-severity vulnerability. It was published on May 21, 2024 and has a CVSS 3.1 base score of 6.2 (MEDIUM).

How severe is CVE-2021-47375?

This vulnerability has a CVSS 3.1 base score of 6.2, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-47375?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-47375?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2021-47375 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2021

View all