Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2022-48847
linux linux kernel

Score7.8 High
CVSS 3.1
Exploit probability (EPSS)0.33%
within the next 30 days
CategoryMemory corruption
Published16 July 2024
Last modified: 4 August 2026

In short

This vulnerability can be exploited with local access to the device, with a regular user account, without any user interaction.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

Weakness type: Out-of-bounds write.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

In the Linux kernel, the following vulnerability has been resolved: watch_queue: Fix filter limit check In watch_queue_set_filter(), there are a couple of places where we check that the filter type value does not exceed what the type_filter bitmap can hold. One place calculates the number of bits by: if (tf[i].type >= sizeof(wfilter->type_filter) * 8) which is fine, but the second does: if (tf[i].type >= sizeof(wfilter->type_filter) * BITS_PER_LONG) which is not. This can lead to a couple of out-of-bounds writes due to a too-large type: (1) __set_bit() on wfilter->type_filter (2) Writing more elements in wfilter->filters[] than we allocated. Fix this by just using the proper WATCH_TYPE__NR instead, which is the number of types we actually know about. The bug may cause an oops looking something like: BUG: KASAN: slab-out-of-bounds in watch_queue_set_filter+0x659/0x740 Write of size 4 at addr ffff88800d2c66bc by task watch_queue_oob/611 ... Call Trace: <TASK> dump_stack_lvl+0x45/0x59 print_address_description.constprop.0+0x1f/0x150 ... kasan_report.cold+0x7f/0x11b ... watch_queue_set_filter+0x659/0x740 ... __x64_sys_ioctl+0x127/0x190 do_syscall_64+0x43/0x90 entry_SYSCALL_64_after_hwframe+0x44/0xae Allocated by task 611: kasan_save_stack+0x1e/0x40 __kasan_kmalloc+0x81/0xa0 watch_queue_set_filter+0x23a/0x740 __x64_sys_ioctl+0x127/0x190 do_syscall_64+0x43/0x90 entry_SYSCALL_64_after_hwframe+0x44/0xae The buggy address belongs to the object at ffff88800d2c66a0 which belongs to the cache kmalloc-32 of size 32 The buggy address is located 28 bytes inside of 32-byte region [ffff88800d2c66a0, ffff88800d2c66c0)

CVSS: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-787 – Out-of-bounds write

Affected products

VendorProductVersions
linuxlinux kernel>=5.8 <5.10.106
linuxlinux kernel>=5.11 <5.15.29
linuxlinux kernel>=5.16 <5.16.15

Sources

Latest in the same category

  • CVE-2026-119225 High 8.7
    A NULL pointer dereference in the binary command protocol handler of Reprise Software Reprise License Manager allows an unauthenticated remote attacker to cause a denial of service via a crafted network request. A…
    Memory corruption · 30 November 2026
  • CVE-2026-119224 Critical 9.2
    A stack-based buffer overflow in the embedded web server of Reprise Software Reprise License Manager, allows an unauthenticated remote attacker to cause denial of service and potentially execute code via an oversized…
    Memory corruption · 30 November 2026
  • CVE-2026-138781 High 7.8
    A flaw was found in the file-psd plugin in GIMP. Incorrect bounds checks when loading PSD alpha channel metadata can cause an out-of-bounds read. Opening a crafted PSD file can crash the application and may allow…
    Memory corruption · 30 November 2026
  • CVE-2026-138700 High 7.5
    A flaw was found in sstp-client. A stack-based buffer overflow in sstp_http_get() can be triggered when parsing HTTP headers from an SSTP server response before authentication. A remote peer can cause the client to…
    Memory corruption · 30 November 2026
  • CVE-2025-6622 Low 1.8
    Improper Validation of Specified Quantity in Input vulnerability in ABB KNXnet/IP Interface IPS/S3.1.1. This issue affects KNXnet/IP Interface IPS/S3.1.1: through 1.0.494.
    Memory corruption · 30 November 2026
  • CVE-2025-59850 Low 1.6
    HCL CAMWorks is affected by an Insecure Binary Compilation vulnerability where an attacker could potentially reverse engineer the binary and leak information or tamper with the code.
    Memory corruption · 30 November 2026