CVE-2022-49922
nfc: nfcmrvl: Fix potential memory leak in nfcmrvl_i2c_nci_send()
Check your servers for CVE-2022-49922
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49922 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.49% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 1 Oct 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-401 Missing Release of Memory after Effective Lifetime
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from b5b3e23e4cace008e1a30e8614a484d14dfd07a1, before dd0ee55ead91fbb16889dbe7ff0b0f7c9e4e849d affected from b5b3e23e4cace008e1a30e8614a484d14dfd07a1, before 825656ae61e73ddc05f585e6258d284c87064b10 affected from b5b3e23e4cace008e1a30e8614a484d14dfd07a1, before c8e7d4a1166f063703955f1b2e765a6db5bf1771 affected from b5b3e23e4cace008e1a30e8614a484d14dfd07a1, before f30060efcf18883748a0541aa41acef183cd9c0e affected from b5b3e23e4cace008e1a30e8614a484d14dfd07a1, before 52438e734c1566f5e2bcd9a065d2d65e306c0555 affected from b5b3e23e4cace008e1a30e8614a484d14dfd07a1, before 5dfdac5e3f8db5f4445228c44f64091045644a3b affected from b5b3e23e4cace008e1a30e8614a484d14dfd07a1, before 92a1df9c6da20c02cf9872f8b025a66ddb307aeb affected from b5b3e23e4cace008e1a30e8614a484d14dfd07a1, before 93d904a734a74c54d945a9884b4962977f1176cd
Other versions: unaffected
|
| Linux |
affected 4.4 unaffected before 4.4 unaffected from 4.9.333 up to and including 4.9.* unaffected from 4.14.299 up to and including 4.14.* unaffected from 4.19.265 up to and including 4.19.* unaffected from 5.4.224 up to and including 5.4.* unaffected from 5.10.154 up to and including 5.10.* unaffected from 5.15.78 up to and including 5.15.* unaffected from 6.0.8 up to and including 6.0.* unaffected 6.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49922 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49922
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-49922
trivy image --scanners vuln IMAGE | grep CVE-2022-49922
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/dd0ee55ead91fbb16889dbe7ff0b0f7c9e4e849d git.kernel.org
- https://git.kernel.org/stable/c/825656ae61e73ddc05f585e6258d284c87064b10 git.kernel.org
- https://git.kernel.org/stable/c/c8e7d4a1166f063703955f1b2e765a6db5bf1771 git.kernel.org
- https://git.kernel.org/stable/c/f30060efcf18883748a0541aa41acef183cd9c0e git.kernel.org
- https://git.kernel.org/stable/c/52438e734c1566f5e2bcd9a065d2d65e306c0555 git.kernel.org
- https://git.kernel.org/stable/c/5dfdac5e3f8db5f4445228c44f64091045644a3b git.kernel.org
- https://git.kernel.org/stable/c/92a1df9c6da20c02cf9872f8b025a66ddb307aeb git.kernel.org
- https://git.kernel.org/stable/c/93d904a734a74c54d945a9884b4962977f1176cd git.kernel.org
Source: the record CVE-2022-49922 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse