# CVE-2022-48850: net-sysfs: add check for netdevice being present to speed\_show

> 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.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-07-16T12:25:17.824Z
- **Modified:** 2026-06-17T05:16:22.597Z

## Who should check

- Anyone running Linux \>= d519e17e2d01a0ee9abe083019532061b4438065, \< a7b9ab04c5932dee7ec95e0abc58b0df350c0dd2; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 081369ad088a76429984483b8a5f7e967a125aad; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 75fc8363227a999e8f3d17e2eb28dce5600dcd3f; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 8879b5313e9fa5e0c6d6812a0d25d83aed0110e2; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< d15c9f6e3335002fea1c33bc8f71a705fa96976c; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 8d5e69d8fbf3a35ab4fbe56b8f092802b43f3ef6; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 3a79f380b3e10edf6caa9aac90163a5d7a282204; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 4224cfd7fb6523f7a9d1c8bb91bb5df1e38eb624
- Anyone running Linux 2.6.33

## Description

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

net-sysfs: add check for netdevice being present to speed\_show

When bringing down the netdevice or system shutdown, a panic can be
triggered while accessing the sysfs path because the device is already
removed.

    \[  755.549084\] mlx5\_core 0000:12:00.1: Shutdown was called
    \[  756.404455\] mlx5\_core 0000:12:00.0: Shutdown was called
    ...
    \[  757.937260\] BUG: unable to handle kernel NULL pointer dereference at           (null)
    \[  758.031397\] IP: \[\<ffffffff8ee11acb\>\] dma\_pool\_alloc+0x1ab/0x280

    crash\> bt
    ...
    PID: 12649  TASK: ffff8924108f2100  CPU: 1   COMMAND: "amsd"
    ...
     \#9 \[ffff89240e1a38b0\] page\_fault at ffffffff8f38c778
        \[exception RIP: dma\_pool\_alloc+0x1ab\]
        RIP: ffffffff8ee11acb  RSP: ffff89240e1a3968  RFLAGS: 00010046
        RAX: 0000000000000246  RBX: ffff89243d874100  RCX: 0000000000001000
        RDX: 0000000000000000  RSI: 0000000000000246  RDI: ffff89243d874090
        RBP: ffff89240e1a39c0   R8: 000000000001f080   R9: ffff8905ffc03c00
        R10: ffffffffc04680d4  R11: ffffffff8edde9fd  R12: 00000000000080d0
        R13: ffff89243d874090  R14: ffff89243d874080  R15: 0000000000000000
        ORIG\_RAX: ffffffffffffffff  CS: 0010  SS: 0018
    \#10 \[ffff89240e1a39c8\] mlx5\_alloc\_cmd\_msg at ffffffffc04680f3 \[mlx5\_core\]
    \#11 \[ffff89240e1a3a18\] cmd\_exec at ffffffffc046ad62 \[mlx5\_core\]
    \#12 \[ffff89240e1a3ab8\] mlx5\_cmd\_exec at ffffffffc046b4fb \[mlx5\_core\]
    \#13 \[ffff89240e1a3ae8\] mlx5\_core\_access\_reg at ffffffffc0475434 \[mlx5\_core\]
    \#14 \[ffff89240e1a3b40\] mlx5e\_get\_fec\_caps at ffffffffc04a7348 \[mlx5\_core\]
    \#15 \[ffff89240e1a3bb0\] get\_fec\_supported\_advertised at ffffffffc04992bf \[mlx5\_core\]
    \#16 \[ffff89240e1a3c08\] mlx5e\_get\_link\_ksettings at ffffffffc049ab36 \[mlx5\_core\]
    \#17 \[ffff89240e1a3ce8\] \_\_ethtool\_get\_link\_ksettings at ffffffff8f25db46
    \#18 \[ffff89240e1a3d48\] speed\_show at ffffffff8f277208
    \#19 \[ffff89240e1a3dd8\] dev\_attr\_show at ffffffff8f0b70e3
    \#20 \[ffff89240e1a3df8\] sysfs\_kf\_seq\_show at ffffffff8eedbedf
    \#21 \[ffff89240e1a3e18\] kernfs\_seq\_show at ffffffff8eeda596
    \#22 \[ffff89240e1a3e28\] seq\_read at ffffffff8ee76d10
    \#23 \[ffff89240e1a3e98\] kernfs\_fop\_read at ffffffff8eedaef5
    \#24 \[ffff89240e1a3ed8\] vfs\_read at ffffffff8ee4e3ff
    \#25 \[ffff89240e1a3f08\] sys\_read at ffffffff8ee4f27f
    \#26 \[ffff89240e1a3f50\] system\_call\_fastpath at ffffffff8f395f92

    crash\> net\_device.state ffff89443b0c0000
      state = 0x5  (\_\_LINK\_STATE\_START\| \_\_LINK\_STATE\_NOCARRIER)

To prevent this scenario, we also make sure that the netdevice is present.

## Affected and fixed versions

- Linux: \>= d519e17e2d01a0ee9abe083019532061b4438065, \< a7b9ab04c5932dee7ec95e0abc58b0df350c0dd2; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 081369ad088a76429984483b8a5f7e967a125aad; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 75fc8363227a999e8f3d17e2eb28dce5600dcd3f; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 8879b5313e9fa5e0c6d6812a0d25d83aed0110e2; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< d15c9f6e3335002fea1c33bc8f71a705fa96976c; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 8d5e69d8fbf3a35ab4fbe56b8f092802b43f3ef6; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 3a79f380b3e10edf6caa9aac90163a5d7a282204; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 4224cfd7fb6523f7a9d1c8bb91bb5df1e38eb624 (cvelist)
- Linux: 2.6.33 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2022-48850.md
Affected: Linux >= d519e17e2d01a0ee9abe083019532061b4438065, < a7b9ab04c5932dee7ec95e0abc58b0df350c0dd2; >= d519e17e2d01a0ee9abe083019532061b4438065, < 081369ad088a76429984483b8a5f7e967a125aad; >= d519e17e2d01a0ee9abe083019532061b4438065, < 75fc8363227a999e8f3d17e2eb28dce5600dcd3f; >= d519e17e2d01a0ee9abe083…
Fixed in: Linux 081369ad088a76429984483b8a5f7e967a125aad, Linux 75fc8363227a999e8f3d17e2eb28dce5600dcd3f, Linux 8879b5313e9fa5e0c6d6812a0d25d83aed0110e2, Linux 8d5e69d8fbf3a35ab4fbe56b8f092802b43f3ef6, Linux 3a79f380b3e10edf6caa9aac90163a5d7a282204, Linux 4224cfd7fb6523f7a9d1c8bb91bb5df1e38eb624

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

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

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

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

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

Linux \>= d519e17e2d01a0ee9abe083019532061b4438065, \< a7b9ab04c5932dee7ec95e0abc58b0df350c0dd2; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 081369ad088a76429984483b8a5f7e967a125aad; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 75fc8363227a999e8f3d17e2eb28dce5600dcd3f; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 8879b5313e9fa5e0c6d6812a0d25d83aed0110e2; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< d15c9f6e3335002fea1c33bc8f71a705fa96976c; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 8d5e69d8fbf3a35ab4fbe56b8f092802b43f3ef6; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 3a79f380b3e10edf6caa9aac90163a5d7a282204; \>= d519e17e2d01a0ee9abe083019532061b4438065, \< 4224cfd7fb6523f7a9d1c8bb91bb5df1e38eb624; Linux 2.6.33.

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

Yes. Fixed in Linux 081369ad088a76429984483b8a5f7e967a125aad, Linux 75fc8363227a999e8f3d17e2eb28dce5600dcd3f, Linux 8879b5313e9fa5e0c6d6812a0d25d83aed0110e2, Linux 8d5e69d8fbf3a35ab4fbe56b8f092802b43f3ef6, Linux 3a79f380b3e10edf6caa9aac90163a5d7a282204, Linux 4224cfd7fb6523f7a9d1c8bb91bb5df1e38eb624. Upgrade Linux to 4224cfd7fb6523f7a9d1c8bb91bb5df1e38eb624 or later.

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

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/a7b9ab04c5932dee7ec95e0abc58b0df350c0dd2>
- patch: <https://git.kernel.org/stable/c/081369ad088a76429984483b8a5f7e967a125aad>
- patch: <https://git.kernel.org/stable/c/75fc8363227a999e8f3d17e2eb28dce5600dcd3f>
- patch: <https://git.kernel.org/stable/c/8879b5313e9fa5e0c6d6812a0d25d83aed0110e2>
- patch: <https://git.kernel.org/stable/c/d15c9f6e3335002fea1c33bc8f71a705fa96976c>
- patch: <https://git.kernel.org/stable/c/8d5e69d8fbf3a35ab4fbe56b8f092802b43f3ef6>
- patch: <https://git.kernel.org/stable/c/3a79f380b3e10edf6caa9aac90163a5d7a282204>
- patch: <https://git.kernel.org/stable/c/4224cfd7fb6523f7a9d1c8bb91bb5df1e38eb624>

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

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