5.5

CVE-2022-50481: cxl: fix possible null-ptr-deref in cxl_guest_init_afu|adapter()

Analyzed
AliasesUBUNTU-CVE-2022-50481DEBIAN-CVE-2022-50481
Published 04-10-2025Last modified 11-05-2026

Vulnerability summary

CVE-2022-50481 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 5.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.16%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 04-10-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: cxl: fix possible null-ptr-deref in cxl_guest_init_afu|adapter() If device_register() fails in cxl_register_afu|adapter(), the device is not added, device_unregister() can not be called in the error path, otherwise it will cause a null-ptr-deref because of removing not added device. As comment of device_register() says, it should use put_device() to give up the reference in the error path. So split device_unregister() into device_del() and put_device(), then goes to put dev when register fails.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.16%

Chance of exploitation in the next 30 days

Percentile

6%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.16% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu120 products
  • linuxAll versions (No fix recorded) | < 4.15.0-208.220 | < 5.4.0-144.161 | < 5.15.0-69.76
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 4.15.0-1153.166 | < 5.4.0-1097.105 | < 5.15.0-1033.37
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 14baf4d9c739e6e69150512d2eb23c71fffcc192, < 96fba6fb95bdede80583c262ac185da09661f264 | ≥ 14baf4d9c739e6e69150512d2eb23c71fffcc192, < 1ae581696b7a799afa39a664c4b721569643f58a | ≥ 14baf4d9c739e6e69150512d2eb23c71fffcc192, < d775a1da5a52b4f4bb02f2707ba420d1bec48dbb | ≥ 14baf4d9c739e6e69150512d2eb23c71fffcc192, < 60b2ed21a65f3f5318666ccd765c3507991370cf | ≥ 14baf4d9c739e6e69150512d2eb23c71fffcc192, < 170e8c2d2b61e15e7f7cfeded81bc1e959a15ed8 | ≥ 14baf4d9c739e6e69150512d2eb23c71fffcc192, < e5021bbf11b024cc65ea1e84c377df484183be4b | ≥ 14baf4d9c739e6e69150512d2eb23c71fffcc192, < b32559ee4e6667c5c3daf4ec5454c277d1f255d2 | ≥ 14baf4d9c739e6e69150512d2eb23c71fffcc192, < ab44c182353be101c3be9465e1d15d42130c53c4 | ≥ 14baf4d9c739e6e69150512d2eb23c71fffcc192, < 61c80d1c3833e196256fb060382db94f24d3d9a7 | 4.6
  • linux_kernel≥ 4.6, < 4.9.337 | ≥ 4.10, < 4.14.303 | ≥ 4.15, < 4.19.270 | ≥ 4.20, < 5.4.229 | ≥ 5.5, < 5.10.163 | ≥ 5.11, < 5.15.86 | ≥ 5.16, < 6.0.16 | ≥ 6.1, < 6.1.2
Debian1 product
  • linux< 6.1.4-1

3 vendors · 123 products

References

13 links
Show all 13 references