5.5 Medium
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
NONE
Availability Impact
NONE
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
6.5 Medium
AI Score
Confidence
High
0.0004 Low
EPSS
Percentile
15.7%
ep_scan_ready_list() | |- write_lock_irq() | |-
queued_write_lock_slowpath() | |- atomic_cond_read_acquire() | |
read_lock_irqsave(&ep->lock, flags); β> (observes value before unlock) |
chain_epi_lockless() | | epi->next = xchg(&ep->ovflist, epi); | |
read_unlock_irqrestore(&ep->lock, flags); | | | atomic_cmpxchg_relaxed() |
|-- READ_ONCE(ep->ovflist); | A core can order the read of the ovflist
ahead of the atomic_cmpxchg_relaxed(). Switching the cmpxchg to use acquire
semantics addresses this issue at which point the atomic_cond_read can be
switched to use relaxed semantics. [peterz: use try_cmpxchg()]
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 18.04 | noarch | linux | <Β any | UNKNOWN |
ubuntu | 20.04 | noarch | linux | <Β 5.4.0-74.83 | UNKNOWN |
ubuntu | 18.04 | noarch | linux-aws | <Β any | UNKNOWN |
ubuntu | 20.04 | noarch | linux-aws | <Β 5.4.0-1047.49 | UNKNOWN |
ubuntu | 18.04 | noarch | linux-aws-5.4 | <Β any | UNKNOWN |
ubuntu | 16.04 | noarch | linux-aws-hwe | <Β 4.15.0-1102.109~16.04.1 | UNKNOWN |
ubuntu | 20.04 | noarch | linux-azure | <Β 5.4.0-1048.50 | UNKNOWN |
ubuntu | 14.04 | noarch | linux-azure | <Β 4.15.0-1115.128~14.04.1 | UNKNOWN |
ubuntu | 16.04 | noarch | linux-azure | <Β 4.15.0-1115.128~16.04.1 | UNKNOWN |
ubuntu | 18.04 | noarch | linux-azure-4.15 | <Β any | UNKNOWN |
git.kernel.org/linus/84a24bf8c52e66b7ac89ada5e3cfbe72d65c1896 (5.12)
git.kernel.org/stable/c/5902f9453a313be8fe78cbd7e7ca9dba9319fc6e
git.kernel.org/stable/c/82808cc026811fbc3ecf0c0b267a12a339eead56
git.kernel.org/stable/c/82fa9ced35d88581cffa4a1c856fc41fca96d80a
git.kernel.org/stable/c/84a24bf8c52e66b7ac89ada5e3cfbe72d65c1896
git.kernel.org/stable/c/d558fcdb17139728347bccc60a16af3e639649d2
launchpad.net/bugs/cve/CVE-2021-46921
nvd.nist.gov/vuln/detail/CVE-2021-46921
security-tracker.debian.org/tracker/CVE-2021-46921
www.cve.org/CVERecord?id=CVE-2021-46921
5.5 Medium
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
NONE
Availability Impact
NONE
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
6.5 Medium
AI Score
Confidence
High
0.0004 Low
EPSS
Percentile
15.7%