{"vulnerability": "CVE-2022-48857", "sightings": [{"uuid": "f01abc36-d9fb-4c89-ad1f-145d795f0bfe", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2022-48857", "type": "seen", "source": "https://t.me/cvedetector/957", "content": "{\n  \"Source\": \"CVE FEED\",\n  \"Title\": \"CVE-2022-48857 - Linux NFC: port100 Use-After-Free Vulnerability\", \n  \"Content\": \"CVE ID : CVE-2022-48857 \nPublished : July 16, 2024, 1:15 p.m. | 37\u00a0minutes ago \nDescription : In the Linux kernel, the following vulnerability has been resolved:  \n  \nNFC: port100: fix use-after-free in port100_send_complete  \n  \nSyzbot reported UAF in port100_send_complete(). The root case is in  \nmissing usb_kill_urb() calls on error handling path of -&gt;probe function.  \n  \nport100_send_complete() accesses devm allocated memory which will be  \nfreed on probe failure. We should kill this urbs before returning an  \nerror from probe function to prevent reported use-after-free  \n  \nFail log:  \n  \nBUG: KASAN: use-after-free in port100_send_complete+0x16e/0x1a0 drivers/nfc/port100.c:935  \nRead of size 1 at addr ffff88801bb59540 by task ksoftirqd/2/26  \n...  \nCall Trace:  \n   \n __dump_stack lib/dump_stack.c:88 [inline]  \n dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106  \n print_address_description.constprop.0.cold+0x8d/0x303 mm/kasan/report.c:255  \n __kasan_report mm/kasan/report.c:442 [inline]  \n kasan_report.cold+0x83/0xdf mm/kasan/report.c:459  \n port100_send_complete+0x16e/0x1a0 drivers/nfc/port100.c:935  \n __usb_hcd_giveback_urb+0x2b0/0x5c0 drivers/usb/core/hcd.c:1670  \n  \n...  \n  \nAllocated by task 1255:  \n kasan_save_stack+0x1e/0x40 mm/kasan/common.c:38  \n kasan_set_track mm/kasan/common.c:45 [inline]  \n set_alloc_info mm/kasan/common.c:436 [inline]  \n ____kasan_kmalloc mm/kasan/common.c:515 [inline]  \n ____kasan_kmalloc mm/kasan/common.c:474 [inline]  \n __kasan_kmalloc+0xa6/0xd0 mm/kasan/common.c:524  \n alloc_dr drivers/base/devres.c:116 [inline]  \n devm_kmalloc+0x96/0x1d0 drivers/base/devres.c:823  \n devm_kzalloc include/linux/device.h:209 [inline]  \n port100_probe+0x8a/0x1320 drivers/nfc/port100.c:1502  \n  \nFreed by task 1255:  \n kasan_save_stack+0x1e/0x40 mm/kasan/common.c:38  \n kasan_set_track+0x21/0x30 mm/kasan/common.c:45  \n kasan_set_free_info+0x20/0x30 mm/kasan/generic.c:370  \n ____kasan_slab_free mm/kasan/common.c:366 [inline]  \n ____kasan_slab_free+0xff/0x140 mm/kasan/common.c:328  \n kasan_slab_free include/linux/kasan.h:236 [inline]  \n __cache_free mm/slab.c:3437 [inline]  \n kfree+0xf8/0x2b0 mm/slab.c:3794  \n release_nodes+0x112/0x1a0 drivers/base/devres.c:501  \n devres_release_all+0x114/0x190 drivers/base/devres.c:530  \n really_probe+0x626/0xcc0 drivers/base/dd.c:670 \nSeverity: 0.0 | NA \nVisit the link for more details, such as CVSS details, affected products, timeline, and more...\",\n  \"Detection Date\": \"16 Jul 2024\",\n  \"Type\": \"Vulnerability\"\n}\n\ud83d\udd39 t.me/cvedetector \ud83d\udd39", "creation_timestamp": "2024-07-16T16:16:57.000000Z"}]}