# CVE-2022-49916: rose: Fix NULL pointer dereference in rose\_send\_frame()

> 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, CNA) `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.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-05-01T14:10:56.851Z
- **Modified:** 2026-06-17T05:19:30.343Z

## Who should check

- Anyone running Linux \>= 76885373129b13df35ecc9b4ee86ea5840f12133, \< 01b9c68c121847d05a4ccef68244dadf82bfa331; \>= b8f9de195d6303f52bae16c7911f35ac14ba7e3d, \< bbc03d74e641e824754443b908454ca9e203773e; \>= 0aae33feb7a56b28318f92c960a3d08d9c305984, \< 5b46adfbee1e429f33b10a88d6c00fa88f3d6c77; \>= 6e4b20d548fc97ecbdca15c8d96302ee5e3e6313, \< b13be5e852b03f376058027e462fad4230240891; \>= de3deadd11987070788b48825bec4647458b988d, \< f06186e5271b980bac03f5c97276ed0146ddc9b0; \>= 9cf85759e104d7e9c3fd8920a554195b715d6797, \< 3e2129c67daca21043a26575108f6286c85e71f6; \>= 3c53cd65dece47dd1f9d3a809f32e59d1d87b2b8, \< a601e5eded33bb88b8a42743db8fef3ad41dd97e; \>= 3c53cd65dece47dd1f9d3a809f32e59d1d87b2b8, \< e97c089d7a49f67027395ddf70bf327eeac2611e; 9197ca40fd9de265caedba70d0cb5814c4e45952; \>= 4.9.327, \< 4.9.333; …
- Anyone running Linux 6.0

## Description

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

rose: Fix NULL pointer dereference in rose\_send\_frame()

The syzkaller reported an issue:

KASAN: null-ptr-deref in range \[0x0000000000000380-0x0000000000000387\]
CPU: 0 PID: 4069 Comm: kworker/0:15 Not tainted 6.0.0-syzkaller-02734-g0326074ff465 \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
Workqueue: rcu\_gp srcu\_invoke\_callbacks
RIP: 0010:rose\_send\_frame+0x1dd/0x2f0 net/rose/rose\_link.c:101
Call Trace:
 \<IRQ\>
 rose\_transmit\_clear\_request+0x1d5/0x290 net/rose/rose\_link.c:255
 rose\_rx\_call\_request+0x4c0/0x1bc0 net/rose/af\_rose.c:1009
 rose\_loopback\_timer+0x19e/0x590 net/rose/rose\_loopback.c:111
 call\_timer\_fn+0x1a0/0x6b0 kernel/time/timer.c:1474
 expire\_timers kernel/time/timer.c:1519 \[inline\]
 \_\_run\_timers.part.0+0x674/0xa80 kernel/time/timer.c:1790
 \_\_run\_timers kernel/time/timer.c:1768 \[inline\]
 run\_timer\_softirq+0xb3/0x1d0 kernel/time/timer.c:1803
 \_\_do\_softirq+0x1d0/0x9c8 kernel/softirq.c:571
 \[...\]
 \</IRQ\>

It triggers NULL pointer dereference when 'neigh-\>dev-\>dev\_addr' is
called in the rose\_send\_frame(). It's the first occurrence of the
\`neigh\` is in rose\_loopback\_timer() as \`rose\_loopback\_neigh', and
the 'dev' in 'rose\_loopback\_neigh' is initialized sa nullptr.

It had been fixed by commit 3b3fd068c56e3fbea30090859216a368398e39bf
("rose: Fix Null pointer dereference in rose\_send\_frame()") ever.
But it's introduced by commit 3c53cd65dece47dd1f9d3a809f32e59d1d87b2b8
("rose: check NULL rose\_loopback\_neigh-\>loopback") again.

We fix it by add NULL check in rose\_transmit\_clear\_request(). When
the 'dev' in 'neigh' is NULL, we don't reply the request and just
clear it.

syzkaller don't provide repro, and I provide a syz repro like:
r0 = syz\_init\_net\_socket$bt\_sco(0x1f, 0x5, 0x2)
ioctl$sock\_inet\_SIOCSIFFLAGS(r0, 0x8914, &(0x7f0000000180)={'rose0\\x00', 0x201})
r1 = syz\_init\_net\_socket$rose(0xb, 0x5, 0x0)
bind$rose(r1, &(0x7f00000000c0)=@full={0xb, @dev, @null, 0x0, \[@null, @null, @netrom, @netrom, @default, @null\]}, 0x40)
connect$rose(r1, &(0x7f0000000240)=@short={0xb, @dev={0xbb, 0xbb, 0xbb, 0x1, 0x0}, @remote={0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0x1}, 0x1, @netrom={0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0x0, 0x0}}, 0x1c)

## Affected and fixed versions

- Linux: \>= 76885373129b13df35ecc9b4ee86ea5840f12133, \< 01b9c68c121847d05a4ccef68244dadf82bfa331; \>= b8f9de195d6303f52bae16c7911f35ac14ba7e3d, \< bbc03d74e641e824754443b908454ca9e203773e; \>= 0aae33feb7a56b28318f92c960a3d08d9c305984, \< 5b46adfbee1e429f33b10a88d6c00fa88f3d6c77; \>= 6e4b20d548fc97ecbdca15c8d96302ee5e3e6313, \< b13be5e852b03f376058027e462fad4230240891; \>= de3deadd11987070788b48825bec4647458b988d, \< f06186e5271b980bac03f5c97276ed0146ddc9b0; \>= 9cf85759e104d7e9c3fd8920a554195b715d6797, \< 3e2129c67daca21043a26575108f6286c85e71f6; \>= 3c53cd65dece47dd1f9d3a809f32e59d1d87b2b8, \< a601e5eded33bb88b8a42743db8fef3ad41dd97e; \>= 3c53cd65dece47dd1f9d3a809f32e59d1d87b2b8, \< e97c089d7a49f67027395ddf70bf327eeac2611e; 9197ca40fd9de265caedba70d0cb5814c4e45952; \>= 4.9.327, \< 4.9.333; … (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-49916.md
Affected: Linux >= 76885373129b13df35ecc9b4ee86ea5840f12133, < 01b9c68c121847d05a4ccef68244dadf82bfa331; >= b8f9de195d6303f52bae16c7911f35ac14ba7e3d, < bbc03d74e641e824754443b908454ca9e203773e; >= 0aae33feb7a56b28318f92c960a3d08d9c305984, < 5b46adfbee1e429f33b10a88d6c00fa88f3d6c77; >= 6e4b20d548fc97ecbdca15c…
Fixed in: Linux 01b9c68c121847d05a4ccef68244dadf82bfa331, Linux 5b46adfbee1e429f33b10a88d6c00fa88f3d6c77, Linux 3e2129c67daca21043a26575108f6286c85e71f6, Linux 4.9.333

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

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

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

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

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

Linux \>= 76885373129b13df35ecc9b4ee86ea5840f12133, \< 01b9c68c121847d05a4ccef68244dadf82bfa331; \>= b8f9de195d6303f52bae16c7911f35ac14ba7e3d, \< bbc03d74e641e824754443b908454ca9e203773e; \>= 0aae33feb7a56b28318f92c960a3d08d9c305984, \< 5b46adfbee1e429f33b10a88d6c00fa88f3d6c77; \>= 6e4b20d548fc97ecbdca15c8d96302ee5e3e6313, \< b13be5e852b03f376058027e462fad4230240891; \>= de3deadd11987070788b48825bec4647458b988d, \< f06186e5271b980bac03f5c97276ed0146ddc9b0; \>= 9cf85759e104d7e9c3fd8920a554195b715d6797, \< 3e2129c67daca21043a26575108f6286c85e71f6; \>= 3c53cd65dece47dd1f9d3a809f32e59d1d87b2b8, \< a601e5eded33bb88b8a42743db8fef3ad41dd97e; \>= 3c53cd65dece47dd1f9d3a809f32e59d1d87b2b8, \< e97c089d7a49f67027395ddf70bf327eeac2611e; 9197ca40fd9de265caedba70d0cb5814c4e45952; \>= 4.9.327, \< 4.9.333; …; Linux 6.0.

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

Yes. Fixed in Linux 01b9c68c121847d05a4ccef68244dadf82bfa331, Linux 5b46adfbee1e429f33b10a88d6c00fa88f3d6c77, Linux 3e2129c67daca21043a26575108f6286c85e71f6, Linux 4.9.333. No fix listed yet: follow the vendor advisory.

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

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/01b9c68c121847d05a4ccef68244dadf82bfa331>
- patch: <https://git.kernel.org/stable/c/bbc03d74e641e824754443b908454ca9e203773e>
- patch: <https://git.kernel.org/stable/c/5b46adfbee1e429f33b10a88d6c00fa88f3d6c77>
- patch: <https://git.kernel.org/stable/c/b13be5e852b03f376058027e462fad4230240891>
- patch: <https://git.kernel.org/stable/c/f06186e5271b980bac03f5c97276ed0146ddc9b0>
- patch: <https://git.kernel.org/stable/c/3e2129c67daca21043a26575108f6286c85e71f6>
- patch: <https://git.kernel.org/stable/c/a601e5eded33bb88b8a42743db8fef3ad41dd97e>
- patch: <https://git.kernel.org/stable/c/e97c089d7a49f67027395ddf70bf327eeac2611e>

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

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