# CVE-2022-49847: net: ethernet: ti: am65-cpsw: Fix segmentation fault at module unload

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.24% (percentile 9, 2026-11-26)
- **Published:** 2025-05-01T14:10:02.402Z
- **Modified:** 2026-11-05T20:17:16.197Z

## Who should check

- Anyone running Linux \>= e8609e69470f369509b44d5f2619f94541fe9df6, \< 442fd1bfe599bc54d118775e9e1a4fe913e4b369; \>= e8609e69470f369509b44d5f2619f94541fe9df6, \< 1a0c016a4831ea29be09bbc8162d4a2a0690b4b8
- Anyone running Linux 5.18

## Description

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

net: ethernet: ti: am65-cpsw: Fix segmentation fault at module unload

Move am65\_cpsw\_nuss\_phylink\_cleanup() call to after
am65\_cpsw\_nuss\_cleanup\_ndev() so phylink is still valid
to prevent the below Segmentation fault on module remove when
first slave link is up.

\[   31.652944\] Unable to handle kernel paging request at virtual address 00040008000005f4
\[   31.684627\] Mem abort info:
\[   31.687446\]   ESR = 0x0000000096000004
\[   31.704614\]   EC = 0x25: DABT (current EL), IL = 32 bits
\[   31.720663\]   SET = 0, FnV = 0
\[   31.723729\]   EA = 0, S1PTW = 0
\[   31.740617\]   FSC = 0x04: level 0 translation fault
\[   31.756624\] Data abort info:
\[   31.759508\]   ISV = 0, ISS = 0x00000004
\[   31.776705\]   CM = 0, WnR = 0
\[   31.779695\] \[00040008000005f4\] address between user and kernel address ranges
\[   31.808644\] Internal error: Oops: 0000000096000004 \[\#1\] PREEMPT SMP
\[   31.814928\] Modules linked in: wlcore\_sdio wl18xx wlcore mac80211 libarc4 cfg80211 rfkill crct10dif\_ce phy\_gmii\_sel ti\_am65\_cpsw\_nuss(-) sch\_fq\_codel ipv6
\[   31.828776\] CPU: 0 PID: 1026 Comm: modprobe Not tainted 6.1.0-rc2-00012-gfabfcf7dafdb-dirty \#160
\[   31.837547\] Hardware name: Texas Instruments AM625 (DT)
\[   31.842760\] pstate: 40000005 (nZcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
\[   31.849709\] pc : phy\_stop+0x18/0xf8
\[   31.853202\] lr : phylink\_stop+0x38/0xf8
\[   31.857031\] sp : ffff80000a0839f0
\[   31.860335\] x29: ffff80000a0839f0 x28: ffff000000de1c80 x27: 0000000000000000
\[   31.867462\] x26: 0000000000000000 x25: 0000000000000000 x24: ffff80000a083b98
\[   31.874589\] x23: 0000000000000800 x22: 0000000000000001 x21: ffff000001bfba90
\[   31.881715\] x20: ffff0000015ee000 x19: 0004000800000200 x18: 0000000000000000
\[   31.888842\] x17: ffff800076c45000 x16: ffff800008004000 x15: 000058e39660b106
\[   31.895969\] x14: 0000000000000144 x13: 0000000000000144 x12: 0000000000000000
\[   31.903095\] x11: 000000000000275f x10: 00000000000009e0 x9 : ffff80000a0837d0
\[   31.910222\] x8 : ffff000000de26c0 x7 : ffff00007fbd6540 x6 : ffff00007fbd64c0
\[   31.917349\] x5 : ffff00007fbd0b10 x4 : ffff00007fbd0b10 x3 : ffff00007fbd3920
\[   31.924476\] x2 : d0a07fcff8b8d500 x1 : 0000000000000000 x0 : 0004000800000200
\[   31.931603\] Call trace:
\[   31.934042\]  phy\_stop+0x18/0xf8
\[   31.937177\]  phylink\_stop+0x38/0xf8
\[   31.940657\]  am65\_cpsw\_nuss\_ndo\_slave\_stop+0x28/0x1e0 \[ti\_am65\_cpsw\_nuss\]
\[   31.947452\]  \_\_dev\_close\_many+0xa4/0x140
\[   31.951371\]  dev\_close\_many+0x84/0x128
\[   31.955115\]  unregister\_netdevice\_many+0x130/0x6d0
\[   31.959897\]  unregister\_netdevice\_queue+0x94/0xd8
\[   31.964591\]  unregister\_netdev+0x24/0x38
\[   31.968504\]  am65\_cpsw\_nuss\_cleanup\_ndev.isra.0+0x48/0x70 \[ti\_am65\_cpsw\_nuss\]
\[   31.975637\]  am65\_cpsw\_nuss\_remove+0x58/0xf8 \[ti\_am65\_cpsw\_nuss\]

## Affected and fixed versions

- Linux: \>= e8609e69470f369509b44d5f2619f94541fe9df6, \< 442fd1bfe599bc54d118775e9e1a4fe913e4b369; \>= e8609e69470f369509b44d5f2619f94541fe9df6, \< 1a0c016a4831ea29be09bbc8162d4a2a0690b4b8 (cvelist)
- Linux: 5.18 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2022-49847.md
Affected: Linux >= e8609e69470f369509b44d5f2619f94541fe9df6, < 442fd1bfe599bc54d118775e9e1a4fe913e4b369; >= e8609e69470f369509b44d5f2619f94541fe9df6, < 1a0c016a4831ea29be09bbc8162d4a2a0690b4b8; Linux 5.18
Fixed in: Linux 442fd1bfe599bc54d118775e9e1a4fe913e4b369, Linux 1a0c016a4831ea29be09bbc8162d4a2a0690b4b8

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

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= e8609e69470f369509b44d5f2619f94541fe9df6, \< 442fd1bfe599bc54d118775e9e1a4fe913e4b369; \>= e8609e69470f369509b44d5f2619f94541fe9df6, \< 1a0c016a4831ea29be09bbc8162d4a2a0690b4b8; Linux 5.18.

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

Yes. Fixed in Linux 442fd1bfe599bc54d118775e9e1a4fe913e4b369, Linux 1a0c016a4831ea29be09bbc8162d4a2a0690b4b8. Upgrade Linux to 1a0c016a4831ea29be09bbc8162d4a2a0690b4b8 or later.

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

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/442fd1bfe599bc54d118775e9e1a4fe913e4b369>
- patch: <https://git.kernel.org/stable/c/1a0c016a4831ea29be09bbc8162d4a2a0690b4b8>

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

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