# CVE-2022-49194: net: bcmgenet: Use stronger register read/writes to assure ordering

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

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; 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:** Remote, no login needed
- **EPSS:** 0.76% (percentile 51, 2026-11-26)
- **Published:** 2025-02-26T01:55:39.581Z
- **Modified:** 2026-08-05T08:54:20.945Z

## Who should check

- Anyone running Linux \>= 69d2ea9c798983c4a7157278ec84ff969d1cd8e8, \< b26091a02093104259ca64aeca73601e56160d62; \>= 69d2ea9c798983c4a7157278ec84ff969d1cd8e8, \< 06d836801cd82ded282aaf9e888ff9e7e4a88b91; \>= 69d2ea9c798983c4a7157278ec84ff969d1cd8e8, \< 1d717816189fd68f9e089cf89ed1f7327d2c2e71; \>= 69d2ea9c798983c4a7157278ec84ff969d1cd8e8, \< f49769b462f282477ca801cf648f875b1c5b59db; \>= 69d2ea9c798983c4a7157278ec84ff969d1cd8e8, \< 8d3ea3d402db94b61075617e71b67459a714a502
- Anyone running Linux 4.14

## Description

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

net: bcmgenet: Use stronger register read/writes to assure ordering

GCC12 appears to be much smarter about its dependency tracking and is
aware that the relaxed variants are just normal loads and stores and
this is causing problems like:

\[  210.074549\] ------------\[ cut here \]------------
\[  210.079223\] NETDEV WATCHDOG: enabcm6e4ei0 (bcmgenet): transmit queue 1 timed out
\[  210.086717\] WARNING: CPU: 1 PID: 0 at net/sched/sch\_generic.c:529 dev\_watchdog+0x234/0x240
\[  210.095044\] Modules linked in: genet(E) nft\_fib\_inet nft\_fib\_ipv4 nft\_fib\_ipv6 nft\_fib nft\_reject\_inet nf\_reject\_ipv4 nf\_reject\_ipv6 nft\_reject nft\_ct nft\_chain\_nat\]
\[  210.146561\] ACPI CPPC: PCC check channel failed for ss: 0. ret=-110
\[  210.146927\] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G            E     5.17.0-rc7G12+ \#58
\[  210.153226\] CPPC Cpufreq:cppc\_scale\_freq\_workfn: failed to read perf counters
\[  210.161349\] Hardware name: Raspberry Pi Foundation Raspberry Pi 4 Model B/Raspberry Pi 4 Model B, BIOS EDK2-DEV 02/08/2022
\[  210.161353\] pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
\[  210.161358\] pc : dev\_watchdog+0x234/0x240
\[  210.161364\] lr : dev\_watchdog+0x234/0x240
\[  210.161368\] sp : ffff8000080a3a40
\[  210.161370\] x29: ffff8000080a3a40 x28: ffffcd425af87000 x27: ffff8000080a3b20
\[  210.205150\] x26: ffffcd425aa00000 x25: 0000000000000001 x24: ffffcd425af8ec08
\[  210.212321\] x23: 0000000000000100 x22: ffffcd425af87000 x21: ffff55b142688000
\[  210.219491\] x20: 0000000000000001 x19: ffff55b1426884c8 x18: ffffffffffffffff
\[  210.226661\] x17: 64656d6974203120 x16: 0000000000000001 x15: 6d736e617274203a
\[  210.233831\] x14: 2974656e65676d63 x13: ffffcd4259c300d8 x12: ffffcd425b07d5f0
\[  210.241001\] x11: 00000000ffffffff x10: ffffcd425b07d5f0 x9 : ffffcd4258bdad9c
\[  210.248171\] x8 : 00000000ffffdfff x7 : 000000000000003f x6 : 0000000000000000
\[  210.255341\] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000001000
\[  210.262511\] x2 : 0000000000001000 x1 : 0000000000000005 x0 : 0000000000000044
\[  210.269682\] Call trace:
\[  210.272133\]  dev\_watchdog+0x234/0x240
\[  210.275811\]  call\_timer\_fn+0x3c/0x15c
\[  210.279489\]  \_\_run\_timers.part.0+0x288/0x310
\[  210.283777\]  run\_timer\_softirq+0x48/0x80
\[  210.287716\]  \_\_do\_softirq+0x128/0x360
\[  210.291392\]  \_\_irq\_exit\_rcu+0x138/0x140
\[  210.295243\]  irq\_exit\_rcu+0x1c/0x30
\[  210.298745\]  el1\_interrupt+0x38/0x54
\[  210.302334\]  el1h\_64\_irq\_handler+0x18/0x24
\[  210.306445\]  el1h\_64\_irq+0x7c/0x80
\[  210.309857\]  arch\_cpu\_idle+0x18/0x2c
\[  210.313445\]  default\_idle\_call+0x4c/0x140
\[  210.317470\]  cpuidle\_idle\_call+0x14c/0x1a0
\[  210.321584\]  do\_idle+0xb0/0x100
\[  210.324737\]  cpu\_startup\_entry+0x30/0x8c
\[  210.328675\]  secondary\_start\_kernel+0xe4/0x110
\[  210.333138\]  \_\_secondary\_switched+0x94/0x98

The assumption when these were relaxed seems to be that device memory
would be mapped non reordering, and that other constructs
(spinlocks/etc) would provide the barriers to assure that packet data
and in memory rings/queues were ordered with respect to device
register reads/writes. This itself seems a bit sketchy, but the real
problem with GCC12 is that it is moving the actual reads/writes around
at will as though they were independent operations when in truth they
are not, but the compiler can't know that. When looking at the
assembly dumps for many of these routines its possible to see very
clean, but not strictly in program order operations occurring as the
compiler would be free to do if these weren't actually register
reads/write operations.

Its possible to suppress the timeout with a liberal bit of dma\_mb()'s
sprinkled around but the device still seems unable to reliably
send/receive data. A better plan is to use the safer readl/writel
everywhere.

Since this partially reverts an older commit, which notes the use of
the relaxed variants for performance reasons. I would suggest that
any performance problems 
---truncated---

## Affected and fixed versions

- Linux: \>= 69d2ea9c798983c4a7157278ec84ff969d1cd8e8, \< b26091a02093104259ca64aeca73601e56160d62; \>= 69d2ea9c798983c4a7157278ec84ff969d1cd8e8, \< 06d836801cd82ded282aaf9e888ff9e7e4a88b91; \>= 69d2ea9c798983c4a7157278ec84ff969d1cd8e8, \< 1d717816189fd68f9e089cf89ed1f7327d2c2e71; \>= 69d2ea9c798983c4a7157278ec84ff969d1cd8e8, \< f49769b462f282477ca801cf648f875b1c5b59db; \>= 69d2ea9c798983c4a7157278ec84ff969d1cd8e8, \< 8d3ea3d402db94b61075617e71b67459a714a502 (cvelist)
- Linux: 4.14 (cvelist)

## Mitigation

- Upgrade Linux to 8d3ea3d402db94b61075617e71b67459a714a502 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-49194. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49194.md
Affected: Linux >= 69d2ea9c798983c4a7157278ec84ff969d1cd8e8, < b26091a02093104259ca64aeca73601e56160d62; >= 69d2ea9c798983c4a7157278ec84ff969d1cd8e8, < 06d836801cd82ded282aaf9e888ff9e7e4a88b91; >= 69d2ea9c798983c4a7157278ec84ff969d1cd8e8, < 1d717816189fd68f9e089cf89ed1f7327d2c2e71; >= 69d2ea9c798983c4a715727…
Fixed in: Linux 06d836801cd82ded282aaf9e888ff9e7e4a88b91, Linux 1d717816189fd68f9e089cf89ed1f7327d2c2e71, Linux 8d3ea3d402db94b61075617e71b67459a714a502

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-49194 being exploited?

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

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

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= 69d2ea9c798983c4a7157278ec84ff969d1cd8e8, \< b26091a02093104259ca64aeca73601e56160d62; \>= 69d2ea9c798983c4a7157278ec84ff969d1cd8e8, \< 06d836801cd82ded282aaf9e888ff9e7e4a88b91; \>= 69d2ea9c798983c4a7157278ec84ff969d1cd8e8, \< 1d717816189fd68f9e089cf89ed1f7327d2c2e71; \>= 69d2ea9c798983c4a7157278ec84ff969d1cd8e8, \< f49769b462f282477ca801cf648f875b1c5b59db; \>= 69d2ea9c798983c4a7157278ec84ff969d1cd8e8, \< 8d3ea3d402db94b61075617e71b67459a714a502; Linux 4.14.

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

Yes. Fixed in Linux 06d836801cd82ded282aaf9e888ff9e7e4a88b91, Linux 1d717816189fd68f9e089cf89ed1f7327d2c2e71, Linux 8d3ea3d402db94b61075617e71b67459a714a502. Upgrade Linux to 8d3ea3d402db94b61075617e71b67459a714a502 or later.

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

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/b26091a02093104259ca64aeca73601e56160d62>
- patch: <https://git.kernel.org/stable/c/06d836801cd82ded282aaf9e888ff9e7e4a88b91>
- patch: <https://git.kernel.org/stable/c/1d717816189fd68f9e089cf89ed1f7327d2c2e71>
- patch: <https://git.kernel.org/stable/c/f49769b462f282477ca801cf648f875b1c5b59db>
- patch: <https://git.kernel.org/stable/c/8d3ea3d402db94b61075617e71b67459a714a502>

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

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