CVE-2022-49922

nfc: nfcmrvl: Fix potential memory leak in nfcmrvl_i2c_nci_send()

MEDIUM
5.5
CVSS Score
Published: May 1, 2025 at 02:11 PM UTC
Updated: June 17, 2026 at 05:19 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: nfc: nfcmrvl: Fix potential memory leak in nfcmrvl_i2c_nci_send() nfcmrvl_i2c_nci_send() will be called by nfcmrvl_nci_send(), and skb should be freed in nfcmrvl_i2c_nci_send(). However, nfcmrvl_nci_send() will only free skb when i2c_master_send() return >=0, which means skb will memleak when i2c_master_send() failed. Free skb no matter whether i2c_master_send() succeeds.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.10 ≤ v < 4.14.2994.15 ≤ v < 4.19.2654.20 ≤ v < 5.4.2244.4 ≤ v < 4.14.2994.4 ≤ v < 4.19.2654.4 ≤ v < 4.9.3334.4 ≤ v < 5.10.1544.4 ≤ v < 5.15.784.4 ≤ v < 5.4.2244.4 ≤ v < 6.0.84.4 ≤ v < 6.15.11 ≤ v < 5.15.785.16 ≤ v < 6.0.85.5 ≤ v < 5.10.1546.1 rc16.1 rc26.1 rc3b5b3e23e4cace008e1a30e8614a484d14dfd07a1
Vendor states this is fixed in 52438e734c1566f5e2bcd9a065d2d65e306c0555 (fixed)
Vendor states this is fixed in 5dfdac5e3f8db5f4445228c44f64091045644a3b (fixed)
Vendor states this is fixed in 825656ae61e73ddc05f585e6258d284c87064b10 (fixed)
Vendor states this is fixed in 92a1df9c6da20c02cf9872f8b025a66ddb307aeb (fixed)
Vendor states this is fixed in 93d904a734a74c54d945a9884b4962977f1176cd (fixed)
Vendor states this is fixed in c8e7d4a1166f063703955f1b2e765a6db5bf1771 (fixed)
Vendor states this is fixed in dd0ee55ead91fbb16889dbe7ff0b0f7c9e4e849d (fixed)
Vendor states this is fixed in f30060efcf18883748a0541aa41acef183cd9c0e (fixed)
Vendor states this is fixed in 4.14.299 (unaffected)
Vendor states this is fixed in 4.19.265 (unaffected)
Vendor states this is fixed in 4.4 (unaffected)
Vendor states this is fixed in 4.9.333 (unaffected)
Vendor states this is fixed in 5.10.154 (unaffected)
Vendor states this is fixed in 5.15.78 (unaffected)
Vendor states this is fixed in 5.4.224 (unaffected)
Vendor states this is fixed in 6.0.8 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/52438e734c1566f5e2bcd9a065d2d65e306c0555
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5dfdac5e3f8db5f4445228c44f64091045644a3b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/825656ae61e73ddc05f585e6258d284c87064b10
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/92a1df9c6da20c02cf9872f8b025a66ddb307aeb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/93d904a734a74c54d945a9884b4962977f1176cd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c8e7d4a1166f063703955f1b2e765a6db5bf1771
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dd0ee55ead91fbb16889dbe7ff0b0f7c9e4e849d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f30060efcf18883748a0541aa41acef183cd9c0e

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card