# CVE-2022-49456: bonding: fix missed rcu protection

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 16, 2026-11-26)
- **Published:** 2025-02-26T02:13:04.787Z
- **Modified:** 2026-08-05T08:55:14.980Z

## Who should check

- Anyone running Linux \>= aa6034678e873db8bd5c5a4b73f8b88c469374d6, \< 1b66a533c47d29b38af8e05fbb53b609a5ba3a4e; \>= aa6034678e873db8bd5c5a4b73f8b88c469374d6, \< 85eed460681da71b359ed906bce4d800081db854; \>= aa6034678e873db8bd5c5a4b73f8b88c469374d6, \< 9b80ccda233fa6c59de411bf889cc4d0e028f2c7
- Anyone running Linux 5.17

## 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/

## Affected and fixed versions

- Linux: \>= aa6034678e873db8bd5c5a4b73f8b88c469374d6, \< 1b66a533c47d29b38af8e05fbb53b609a5ba3a4e; \>= aa6034678e873db8bd5c5a4b73f8b88c469374d6, \< 85eed460681da71b359ed906bce4d800081db854; \>= aa6034678e873db8bd5c5a4b73f8b88c469374d6, \< 9b80ccda233fa6c59de411bf889cc4d0e028f2c7 (cvelist)
- Linux: 5.17 (cvelist)

## Mitigation

- Upgrade Linux to 9b80ccda233fa6c59de411bf889cc4d0e028f2c7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49456. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49456.md
Affected: Linux >= aa6034678e873db8bd5c5a4b73f8b88c469374d6, < 1b66a533c47d29b38af8e05fbb53b609a5ba3a4e; >= aa6034678e873db8bd5c5a4b73f8b88c469374d6, < 85eed460681da71b359ed906bce4d800081db854; >= aa6034678e873db8bd5c5a4b73f8b88c469374d6, < 9b80ccda233fa6c59de411bf889cc4d0e028f2c7; Linux 5.17
Fixed in: Linux 1b66a533c47d29b38af8e05fbb53b609a5ba3a4e, Linux 85eed460681da71b359ed906bce4d800081db854, Linux 9b80ccda233fa6c59de411bf889cc4d0e028f2c7

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49456 being exploited?

There is no confirmed exploitation: CVE-2022-49456 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49456?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49456?

Linux \>= aa6034678e873db8bd5c5a4b73f8b88c469374d6, \< 1b66a533c47d29b38af8e05fbb53b609a5ba3a4e; \>= aa6034678e873db8bd5c5a4b73f8b88c469374d6, \< 85eed460681da71b359ed906bce4d800081db854; \>= aa6034678e873db8bd5c5a4b73f8b88c469374d6, \< 9b80ccda233fa6c59de411bf889cc4d0e028f2c7; Linux 5.17.

### Is there a fix for CVE-2022-49456?

Yes. Fixed in Linux 1b66a533c47d29b38af8e05fbb53b609a5ba3a4e, Linux 85eed460681da71b359ed906bce4d800081db854, Linux 9b80ccda233fa6c59de411bf889cc4d0e028f2c7. Upgrade Linux to 9b80ccda233fa6c59de411bf889cc4d0e028f2c7 or later.

### How do I check if I'm affected by CVE-2022-49456?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/1b66a533c47d29b38af8e05fbb53b609a5ba3a4e>
- patch: <https://git.kernel.org/stable/c/85eed460681da71b359ed906bce4d800081db854>
- patch: <https://git.kernel.org/stable/c/9b80ccda233fa6c59de411bf889cc4d0e028f2c7>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49456>

HTML: <https://flawdb.com/CVE-2022-49456> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49456>
