{"id":"CVE-2021-46924","aliases":["CVE-2021-46924"],"related":[],"kind":"vulnerability","state":"published","title":"NFC: st21nfca: Fix memory leak in device probe and remove","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFC: st21nfca: Fix memory leak in device probe and remove\n\n'phy->pending_skb' is alloced when device probe, but forgot to free\nin the error handling path and remove path, this cause memory leak\nas follows:\n\nunreferenced object 0xffff88800bc06800 (size 512):\n  comm \"8\", pid 11775, jiffies 4295159829 (age 9.032s)\n  hex dump (first 32 bytes):\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n  backtrace:\n    [<00000000d66c09ce>] __kmalloc_node_track_caller+0x1ed/0x450\n    [<00000000c93382b3>] kmalloc_reserve+0x37/0xd0\n    [<000000005fea522c>] __alloc_skb+0x124/0x380\n    [<0000000019f29f9a>] st21nfca_hci_i2c_probe+0x170/0x8f2\n\nFix it by freeing 'pending_skb' in error and remove.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFC: st21nfca: Fix memory leak in device probe and remove\n\n'phy->pending_skb' is alloced when device probe, but forgot to free\nin the error handling path and remove path, this cause memory leak\nas follows:\n\nunreferenced object 0xffff88800bc06800 (size 512):\n  comm \"8\", pid 11775, jiffies 4295159829 (age 9.032s)\n  hex dump (first 32 bytes):\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n  backtrace:\n    [<00000000d66c09ce>] __kmalloc_node_track_caller+0x1ed/0x450\n    [<00000000c93382b3>] kmalloc_reserve+0x37/0xd0\n    [<000000005fea522c>] __alloc_skb+0x124/0x380\n    [<0000000019f29f9a>] st21nfca_hci_i2c_probe+0x170/0x8f2\n\nFix it by freeing 'pending_skb' in error and remove.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: NFC: st21nfca: corrige la pérdida de memoria en la sonda del dispositivo y elimina 'phy-&gt;pending_skb' cuando se asigna la sonda del dispositivo, pero olvidó liberarla en la ruta de manejo de errores y eliminar la ruta, esto causa pérdida de memoria de la siguiente manera: objeto sin referencia 0xffff88800bc06800 (tamaño 512): comunicación \"8\", pid 11775, santiago 4295159829 (edad 9.032 s) volcado hexadecimal (primeros 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................. backtrace: [&lt;00000000d66c09ce&gt;] __kmalloc_node_track_caller+0x1ed/0x450 [&lt;00000000c93382b3&gt;] kmalloc_reserve+0x37/0xd0 [&lt;000000005fea522c&gt;] __alloc_skb+0x124/0x380 [ &lt;0000000019f29f9a&gt;] st21nfca_hci_i2c_probe+0x170/0x8f2 Solucionarlo liberando 'pending_skb' por error y elimínelo.","source":"nvd"}],"published":"2024-02-27T09:43:54.792Z","modified":"2026-06-17T04:15:51.973Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"68957303f44a501af5cf37913208a2acaa6bcdf1","fixed":"38c3e320e7ff46f2dc67bc5045333e63d9f8918d","status":"affected"},{"type":"git","introduced":"68957303f44a501af5cf37913208a2acaa6bcdf1","fixed":"a1e0080a35a16ce3808f7040fe0c3a8fdb052349","status":"affected"},{"type":"git","introduced":"68957303f44a501af5cf37913208a2acaa6bcdf1","fixed":"1cd4063dbc91cf7965d73a6a3855e2028cd4613b","status":"affected"},{"type":"git","introduced":"68957303f44a501af5cf37913208a2acaa6bcdf1","fixed":"e553265ea56482da5700f56319fda9ff53e7dcb4","status":"affected"},{"type":"git","introduced":"68957303f44a501af5cf37913208a2acaa6bcdf1","fixed":"238920381b8925d070d32d73cd9ce52ab29896fe","status":"affected"},{"type":"git","introduced":"68957303f44a501af5cf37913208a2acaa6bcdf1","fixed":"1b9dadba502234eea7244879b8d5d126bfaf9f0c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.16","status":"unaffected"},{"type":"semver","introduced":"4.14.261","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.224","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.170","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.90","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.13","lastAffected":"5.15.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.16","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.16.0","fixed":"4.14.261"},{"status":"affected","introduced":"4.15.0","fixed":"4.19.224"},{"status":"affected","introduced":"4.20.0","fixed":"5.4.170"},{"status":"affected","introduced":"5.5.0","fixed":"5.10.90"},{"status":"affected","introduced":"5.11.0","fixed":"5.15.13"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/38c3e320e7ff46f2dc67bc5045333e63d9f8918d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a1e0080a35a16ce3808f7040fe0c3a8fdb052349","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1cd4063dbc91cf7965d73a6a3855e2028cd4613b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e553265ea56482da5700f56319fda9ff53e7dcb4","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/238920381b8925d070d32d73cd9ce52ab29896fe","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1b9dadba502234eea7244879b8d5d126bfaf9f0c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-02-27T20:52:36.820Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-46924","url":"https://www.cve.org/CVERecord?id=CVE-2021-46924","licence":"CVE Terms of Use","modified":"2026-05-11T13:44:32.039Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-46924","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46924","licence":"Public domain","modified":"2026-06-17T04:15:51.973Z"}],"updatedAt":"2026-11-25T22:58:08.566Z","epss":{"score":0.00226,"percentile":0.1418,"date":"2026-12-01T12:00:22.000Z"}}