# CVE-2022-50163: ax25: fix incorrect dev\_tracker usage

> 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, NVD) `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 15, 2026-11-26)
- **Published:** 2025-06-18T11:03:18.317Z
- **Modified:** 2026-06-17T05:22:53.263Z

## Who should check

- Anyone running Linux \>= feef318c855a361a1eccd880f33e88c460eb63b4, \< d08e3d71e5942f77fbff7f3529ed7fc82fbb3dfa; \>= feef318c855a361a1eccd880f33e88c460eb63b4, \< 4294df1374450912b2f64ee3cf575069fc784679; \>= feef318c855a361a1eccd880f33e88c460eb63b4, \< d7c4c9e075f8cc6d88d277bc24e5d99297f03c06; b8c07f33aa35dacf5444e7053ed9662d1869f536; b1e0a6fc7f17500484c402ad1cd018c24dfc14b3; 7528d0f2210c3a1154186175516ed37aa970f2b1; 57cc15f5fd550316e4104eaf84b90fbc640fd7a5; b982492ec3a115e0a136856a1b2dbe32f2d21a0e; \>= 4.14.277, \< 4.15; \>= 4.19.240, \< 4.20; …
- Anyone running Linux 5.17

## Description

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

ax25: fix incorrect dev\_tracker usage

While investigating a separate rose issue \[1\], and enabling
CONFIG\_NET\_DEV\_REFCNT\_TRACKER=y, Bernard reported an orthogonal ax25 issue \[2\]

An ax25\_dev can be used by one (or many) struct ax25\_cb.
We thus need different dev\_tracker, one per struct ax25\_cb.

After this patch is applied, we are able to focus on rose.

\[1\] https://lore.kernel.org/netdev/fb7544a1-f42e-9254-18cc-c9b071f4ca70@free.fr/

\[2\]
\[  205.798723\] reference already released.
\[  205.798732\] allocated in:
\[  205.798734\]  ax25\_bind+0x1a2/0x230 \[ax25\]
\[  205.798747\]  \_\_sys\_bind+0xea/0x110
\[  205.798753\]  \_\_x64\_sys\_bind+0x18/0x20
\[  205.798758\]  do\_syscall\_64+0x5c/0x80
\[  205.798763\]  entry\_SYSCALL\_64\_after\_hwframe+0x44/0xae
\[  205.798768\] freed in:
\[  205.798770\]  ax25\_release+0x115/0x370 \[ax25\]
\[  205.798778\]  \_\_sock\_release+0x42/0xb0
\[  205.798782\]  sock\_close+0x15/0x20
\[  205.798785\]  \_\_fput+0x9f/0x260
\[  205.798789\]  \_\_\_\_fput+0xe/0x10
\[  205.798792\]  task\_work\_run+0x64/0xa0
\[  205.798798\]  exit\_to\_user\_mode\_prepare+0x18b/0x190
\[  205.798804\]  syscall\_exit\_to\_user\_mode+0x26/0x40
\[  205.798808\]  do\_syscall\_64+0x69/0x80
\[  205.798812\]  entry\_SYSCALL\_64\_after\_hwframe+0x44/0xae
\[  205.798827\] ------------\[ cut here \]------------
\[  205.798829\] WARNING: CPU: 2 PID: 2605 at lib/ref\_tracker.c:136 ref\_tracker\_free.cold+0x60/0x81
\[  205.798837\] Modules linked in: rose netrom mkiss ax25 rfcomm cmac algif\_hash algif\_skcipher af\_alg bnep snd\_hda\_codec\_hdmi nls\_iso8859\_1 i915 rtw88\_8821ce rtw88\_8821c x86\_pkg\_temp\_thermal rtw88\_pci intel\_powerclamp rtw88\_core snd\_hda\_codec\_realtek snd\_hda\_codec\_generic ledtrig\_audio coretemp snd\_hda\_intel kvm\_intel snd\_intel\_dspcfg mac80211 snd\_hda\_codec kvm i2c\_algo\_bit drm\_buddy drm\_dp\_helper btusb drm\_kms\_helper snd\_hwdep btrtl snd\_hda\_core btbcm joydev crct10dif\_pclmul btintel crc32\_pclmul ghash\_clmulni\_intel mei\_hdcp btmtk intel\_rapl\_msr aesni\_intel bluetooth input\_leds snd\_pcm crypto\_simd syscopyarea processor\_thermal\_device\_pci\_legacy sysfillrect cryptd intel\_soc\_dts\_iosf snd\_seq sysimgblt ecdh\_generic fb\_sys\_fops rapl libarc4 processor\_thermal\_device intel\_cstate processor\_thermal\_rfim cec snd\_timer ecc snd\_seq\_device cfg80211 processor\_thermal\_mbox mei\_me processor\_thermal\_rapl mei rc\_core at24 snd intel\_pch\_thermal intel\_rapl\_common ttm soundcore int340x\_thermal\_zone video
\[  205.798948\]  mac\_hid acpi\_pad sch\_fq\_codel ipmi\_devintf ipmi\_msghandler drm msr parport\_pc ppdev lp parport ramoops pstore\_blk reed\_solomon pstore\_zone efi\_pstore ip\_tables x\_tables autofs4 hid\_generic usbhid hid i2c\_i801 i2c\_smbus r8169 xhci\_pci ahci libahci realtek lpc\_ich xhci\_pci\_renesas \[last unloaded: ax25\]
\[  205.798992\] CPU: 2 PID: 2605 Comm: ax25ipd Not tainted 5.18.11-F6BVP \#3
\[  205.798996\] Hardware name: To be filled by O.E.M. To be filled by O.E.M./CK3, BIOS 5.011 09/16/2020
\[  205.798999\] RIP: 0010:ref\_tracker\_free.cold+0x60/0x81
\[  205.799005\] Code: e8 d2 01 9b ff 83 7b 18 00 74 14 48 c7 c7 2f d7 ff 98 e8 10 6e fc ff 8b 7b 18 e8 b8 01 9b ff 4c 89 ee 4c 89 e7 e8 5d fd 07 00 \<0f\> 0b b8 ea ff ff ff e9 30 05 9b ff 41 0f b6 f7 48 c7 c7 a0 fa 4e
\[  205.799008\] RSP: 0018:ffffaf5281073958 EFLAGS: 00010286
\[  205.799011\] RAX: 0000000080000000 RBX: ffff9a0bd687ebe0 RCX: 0000000000000000
\[  205.799014\] RDX: 0000000000000001 RSI: 0000000000000282 RDI: 00000000ffffffff
\[  205.799016\] RBP: ffffaf5281073a10 R08: 0000000000000003 R09: fffffffffffd5618
\[  205.799019\] R10: 0000000000ffff10 R11: 000000000000000f R12: ffff9a0bc53384d0
\[  205.799022\] R13: 0000000000000282 R14: 00000000ae000001 R15: 0000000000000001
\[  205.799024\] FS:  0000000000000000(0000) GS:ffff9a0d0f300000(0000) knlGS:0000000000000000
\[  205.799028\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[  205.799031\] CR2: 00007ff6b8311554 CR3: 000000001ac10004 CR4: 00000000001706e0
\[  205.799033\] Call Trace:
\[  205.799035\]  \<TASK\>
\[  205.799038\]  ? ax25\_dev\_device\_down+0xd9/
---truncated---

## Affected and fixed versions

- Linux: \>= feef318c855a361a1eccd880f33e88c460eb63b4, \< d08e3d71e5942f77fbff7f3529ed7fc82fbb3dfa; \>= feef318c855a361a1eccd880f33e88c460eb63b4, \< 4294df1374450912b2f64ee3cf575069fc784679; \>= feef318c855a361a1eccd880f33e88c460eb63b4, \< d7c4c9e075f8cc6d88d277bc24e5d99297f03c06; b8c07f33aa35dacf5444e7053ed9662d1869f536; b1e0a6fc7f17500484c402ad1cd018c24dfc14b3; 7528d0f2210c3a1154186175516ed37aa970f2b1; 57cc15f5fd550316e4104eaf84b90fbc640fd7a5; b982492ec3a115e0a136856a1b2dbe32f2d21a0e; \>= 4.14.277, \< 4.15; \>= 4.19.240, \< 4.20; … (cvelist)
- Linux: 5.17 (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-50163. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50163.md
Affected: Linux >= feef318c855a361a1eccd880f33e88c460eb63b4, < d08e3d71e5942f77fbff7f3529ed7fc82fbb3dfa; >= feef318c855a361a1eccd880f33e88c460eb63b4, < 4294df1374450912b2f64ee3cf575069fc784679; >= feef318c855a361a1eccd880f33e88c460eb63b4, < d7c4c9e075f8cc6d88d277bc24e5d99297f03c06; b8c07f33aa35dacf5444e7053e…
Fixed in: Linux 4294df1374450912b2f64ee3cf575069fc784679, Linux 4.15, Linux 4.20

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

There is no confirmed exploitation: CVE-2022-50163 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-50163?

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

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

Linux \>= feef318c855a361a1eccd880f33e88c460eb63b4, \< d08e3d71e5942f77fbff7f3529ed7fc82fbb3dfa; \>= feef318c855a361a1eccd880f33e88c460eb63b4, \< 4294df1374450912b2f64ee3cf575069fc784679; \>= feef318c855a361a1eccd880f33e88c460eb63b4, \< d7c4c9e075f8cc6d88d277bc24e5d99297f03c06; b8c07f33aa35dacf5444e7053ed9662d1869f536; b1e0a6fc7f17500484c402ad1cd018c24dfc14b3; 7528d0f2210c3a1154186175516ed37aa970f2b1; 57cc15f5fd550316e4104eaf84b90fbc640fd7a5; b982492ec3a115e0a136856a1b2dbe32f2d21a0e; \>= 4.14.277, \< 4.15; \>= 4.19.240, \< 4.20; …; Linux 5.17.

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

Yes. Fixed in Linux 4294df1374450912b2f64ee3cf575069fc784679, Linux 4.15, Linux 4.20. No fix listed yet: follow the vendor advisory.

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

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/d08e3d71e5942f77fbff7f3529ed7fc82fbb3dfa>
- patch: <https://git.kernel.org/stable/c/4294df1374450912b2f64ee3cf575069fc784679>
- patch: <https://git.kernel.org/stable/c/d7c4c9e075f8cc6d88d277bc24e5d99297f03c06>

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

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