CVE-2022-49331

nfc: st21nfca: fix memory leaks in EVT_TRANSACTION handling

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 02:10 AM UTC
Updated: June 17, 2026 at 05:17 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.3%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: nfc: st21nfca: fix memory leaks in EVT_TRANSACTION handling Error paths do not free previously allocated memory. Add devm_kfree() to those failure paths.

Affected

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

4.0 ≤ v < 4.14.2834.0 ≤ v < 4.19.2474.0 ≤ v < 4.9.3184.0 ≤ v < 5.10.1224.0 ≤ v < 5.15.474.0 ≤ v < 5.17.154.0 ≤ v < 5.18.44.0 ≤ v < 5.194.0 ≤ v < 5.4.1984.10 ≤ v < 4.14.2834.15 ≤ v < 4.19.2474.20 ≤ v < 5.4.1985.11 ≤ v < 5.15.475.16 ≤ v < 5.17.155.18 ≤ v < 5.18.45.5 ≤ v < 5.10.12226fc6c7f02cb26c39c4733de3dbc3c0646fc10745.19 rc1
Vendor states this is fixed in 3eca2c42daa4659965db6817479027cbc6df7899 (fixed)
Vendor states this is fixed in 54423649bc0ed464b75807a7cf2857a5871f738f (fixed)
Vendor states this is fixed in 55904086041ba4ee4070187b36590f8f8d6df4cd (fixed)
Vendor states this is fixed in 593773088d615a46a42c97e01a0550d192bb7f74 (fixed)
Vendor states this is fixed in 6fce324b530dd74750ad870699e33eeed1029ded (fixed)
Vendor states this is fixed in 996419e0594abb311fb958553809f24f38e7abbe (fixed)
Vendor states this is fixed in d221ce54ce331c1a23be71eebf57f6a088632383 (fixed)
Vendor states this is fixed in db836b97464d44340b568e041fd24602858713f7 (fixed)
Vendor states this is fixed in f444ecd3f57f4ba5090fe8b6756933e37de4226e (fixed)
Vendor states this is fixed in 4.0 (unaffected)
Vendor states this is fixed in 4.14.283 (unaffected)
Vendor states this is fixed in 4.19.247 (unaffected)
Vendor states this is fixed in 4.9.318 (unaffected)
Vendor states this is fixed in 5.10.122 (unaffected)
Vendor states this is fixed in 5.15.47 (unaffected)
Vendor states this is fixed in 5.17.15 (unaffected)
Vendor states this is fixed in 5.18.4 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.4.198 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3eca2c42daa4659965db6817479027cbc6df7899
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/54423649bc0ed464b75807a7cf2857a5871f738f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/55904086041ba4ee4070187b36590f8f8d6df4cd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/593773088d615a46a42c97e01a0550d192bb7f74
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6fce324b530dd74750ad870699e33eeed1029ded
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/996419e0594abb311fb958553809f24f38e7abbe
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d221ce54ce331c1a23be71eebf57f6a088632383
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/db836b97464d44340b568e041fd24602858713f7

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