CVE-2021-47180

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-47180
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-47180.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-47180
Related
Published
2024-03-25T10:15:09Z
Modified
2024-09-11T02:00:06Z
Summary
[none]
Details

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

NFC: nci: fix memory leak in nciallocatedevice

nfcmrvldisconnect fails to free the hcidev field in struct ncidev. Fix this by freeing hcidev in ncifreedevice.

BUG: memory leak unreferenced object 0xffff888111ea6800 (size 1024): comm "kworker/1:0", pid 19, jiffies 4294942308 (age 13.580s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 60 fd 0c 81 88 ff ff .........`...... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<000000004bc25d43>] kmalloc include/linux/slab.h:552 [inline] [<000000004bc25d43>] kzalloc include/linux/slab.h:682 [inline] [<000000004bc25d43>] ncihciallocate+0x21/0xd0 net/nfc/nci/hci.c:784 [<00000000c59cff92>] nciallocatedevice net/nfc/nci/core.c:1170 [inline] [<00000000c59cff92>] nciallocatedevice+0x10b/0x160 net/nfc/nci/core.c:1132 [<00000000006e0a8e>] nfcmrvlnciregisterdev+0x10a/0x1c0 drivers/nfc/nfcmrvl/main.c:153 [<000000004da1b57e>] nfcmrvlprobe+0x223/0x290 drivers/nfc/nfcmrvl/usb.c:345 [<00000000d506aed9>] usbprobeinterface+0x177/0x370 drivers/usb/core/driver.c:396 [<00000000bc632c92>] reallyprobe+0x159/0x4a0 drivers/base/dd.c:554 [<00000000f5009125>] driverprobedevice+0x84/0x100 drivers/base/dd.c:740 [<000000000ce658ca>] _deviceattachdriver+0xee/0x110 drivers/base/dd.c:846 [<000000007067d05f>] busforeachdrv+0xb7/0x100 drivers/base/bus.c:431 [<00000000f8e13372>] _deviceattach+0x122/0x250 drivers/base/dd.c:914 [<000000009cf68860>] busprobedevice+0xc6/0xe0 drivers/base/bus.c:491 [<00000000359c965a>] deviceadd+0x5be/0xc30 drivers/base/core.c:3109 [<00000000086e4bd3>] usbsetconfiguration+0x9d9/0xb90 drivers/usb/core/message.c:2164 [<00000000ca036872>] usbgenericdriverprobe+0x8c/0xc0 drivers/usb/core/generic.c:238 [<00000000d40d36f6>] usbprobedevice+0x5c/0x140 drivers/usb/core/driver.c:293 [<00000000bc632c92>] reallyprobe+0x159/0x4a0 drivers/base/dd.c:554

References

Affected packages

Debian:11 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.10.46-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.14.6-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.14.6-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}