Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-49456

published high CVSS 3.1 · 7.8

bonding: fix missed rcu protection

Published
26 Feb 2025, 02:13:04 UTC
Updated
05 Aug 2026, 08:55:14 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxaa6034678e873db8bd5c5a4b73f8b88c469374d6 to < 1b66a533c47d29b38af8e05fbb53b609a5ba3a4e · aa6034678e873db8bd5c5a4b73f8b88c469374d6 to < 85eed460681da71b359ed906bce4d800081db854 · aa6034678e873db8bd5c5a4b73f8b88c469374d6 to < 9b80ccda233fa6c59de411bf889cc4d0e028f2c7 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.17 (affected) · 0 to < 5.17 (unaffected · semver) · 5.17.14 through 5.17.* (unaffected · semver) · 5.18.3 through 5.18.* (unaffected · semver) · 5.19 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: bonding: fix missed rcu protection When removing the rcu_read_lock in bond_ethtool_get_ts_info() as discussed [1], I didn't notice it could be called via setsockopt, which doesn't hold rcu lock, as syzbot pointed: stack backtrace: CPU: 0 PID: 3599 Comm: syz-executor317 Not tainted 5.18.0-rc5-syzkaller-01392-g01f4685797a5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: <TASK> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 bond_option_active_slave_get_rcu include/net/bonding.h:353 [inline] bond_ethtool_get_ts_info+0x32c/0x3a0 drivers/net/bonding/bond_main.c:5595 __ethtool_get_ts_info+0x173/0x240 net/ethtool/common.c:554 ethtool_get_phc_vclocks+0x99/0x110 net/ethtool/common.c:568 sock_timestamping_bind_phc net/core/sock.c:869 [inline] sock_set_timestamping+0x3a3/0x7e0 net/core/sock.c:916 sock_setsockopt+0x543/0x2ec0 net/core/sock.c:1221 __sys_setsockopt+0x55e/0x6a0 net/socket.c:2223 __do_sys_setsockopt net/socket.c:2238 [inline] __se_sys_setsockopt net/socket.c:2235 [inline] __x64_sys_setsockopt+0xba/0x150 net/socket.c:2235 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f8902c8eb39 Fix it by adding rcu_read_lock and take a ref on the real_dev. Since dev_hold() and dev_put() can take NULL these days, we can skip checking if real_dev exist. [1] https://lore.kernel.org/netdev/27565.1642742439@famine/

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The bug is reached via setsockopt(SO_TIMESTAMPING with SOF_TIMESTAMPING_BIND_PHC) on a socket bound to a bonding device, flowing through sock_timestamping_bind_phc → ethtool_get_phc_vclocks → bond_ethtool_get_ts_info. This is a local syscall path, not packet- or network-facing processing. AC:L - An attacker who can create and manage a bond (e.g. via user namespaces) controls both sides of the race: repeatedly calling setsockopt while releasing/changing the active slave. Missing RCU protection lets synchronize_rcu in bond_release complete and free struct slave while the reader still uses it. PR:L - SO_TIMESTAMPING requires no capability, and the first SO_BINDTODEVICE needs none. Creating/configuring a bond and enslaving interfaces needs only CAP_NET_ADMIN in the network namespace's user_ns, which is available to an unprivileged user via user namespaces. UI:N - Exploitation requires only attacker-controlled syscalls (setsockopt and netlink bond/slave operations); no victim action is needed. S:U - This is a standard in-kernel UAF/RCU bug in the bonding driver that can escalate privileges within the same kernel authority; it does not cross VM, IOMMU, or other security boundaries. C:H - Without RCU protection, concurrent slave release can free struct slave while bond_option_active_slave_get_rcu still reads slave->dev and later uses real_dev, yielding a use-after-free that can be leveraged for arbitrary kernel memory disclosure. I:H - The same UAF on the active-slave path enables heap reuse and control of freed object contents, which is exploitable for arbitrary write / control-flow hijacking in the kernel. A:H - Use-after-free of the slave/netdev path can cause kernel oops/panic, and even the unprotected rcu_dereference alone triggers lockdep warnings; availability impact is therefore High.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux aa6034678e873db8bd5c5a4b73f8b88c469374d6 to < 1b66a533c47d29b38af8e05fbb53b609a5ba3a4e (affected · git)aa6034678e873db8bd5c5a4b73f8b88c469374d6 to < 85eed460681da71b359ed906bce4d800081db854 (affected · git)aa6034678e873db8bd5c5a4b73f8b88c469374d6 to < 9b80ccda233fa6c59de411bf889cc4d0e028f2c7 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.17 (affected)0 to < 5.17 (unaffected · semver)5.17.14 through 5.17.* (unaffected · semver)5.18.3 through 5.18.* (unaffected · semver)5.19 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

bonding: fix missed rcu protection

Provenance

Schema
5.2
Searchable
yes
Content hash
1cf5ca2a6c5179579f030b776f7b55cecf858f0e73279ba76b23dbcdfa2d2328
Ingested
23 Sep 2026, 08:04:12 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected