Skip to content
OpenAdvisories

Weakness (CWE)

CWE-908: Use of Uninitialized Resource

Base Incomplete

The product uses or accesses a resource that has not been initialized.

How to prevent it (4 mitigations)
  1. Implementation

    Explicitly initialize the resource before use. If this is performed through an API function or standard procedure, follow all required steps.

  2. Implementation

    Pay close attention to complex conditionals that affect initialization, since some branches might not perform the initialization.

  3. Implementation

    Avoid race conditions (CWE-362) during initialization routines.

  4. Build and Compilation

    Run or compile the product with settings that generate warnings about uninitialized variables or data.

Source: MITRE CWE-908

560 results · Feed

  • Medium 5.5

    gpu: host1x: Fix a use of uninitialized mutex

    In the Linux kernel, the following vulnerability has been resolved: gpu: host1x: Fix a use of uninitialized mutex commit c8347f915e67 ("gpu: host1x: Fix boot regression for Tegra") caused a use of uninitialized mutex leading to below warning when CONFIG_DEBUG…

  • Medium 5.5

    vxlan: Fix uninit-value in vxlan_vnifilter_dump()

    In the Linux kernel, the following vulnerability has been resolved: vxlan: Fix uninit-value in vxlan_vnifilter_dump() KMSAN reported an uninit-value access in vxlan_vnifilter_dump() [1]. If the length of the netlink message payload is less than sizeof(struct …

  • High 8.8

    wifi: wcn36xx: fix channel survey memory allocation size

    In the Linux kernel, the following vulnerability has been resolved: wifi: wcn36xx: fix channel survey memory allocation size KASAN reported a memory allocation issue in wcn->chan_survey due to incorrect size calculation. This commit uses kcalloc to allocate m…

  • Medium 5.5

    mm/mempolicy: fix uninit-value in mpol_rebind_policy()

    In the Linux kernel, the following vulnerability has been resolved: mm/mempolicy: fix uninit-value in mpol_rebind_policy() mpol_set_nodemask()(mm/mempolicy.c) does not set up nodemask when pol->mode is MPOL_LOCAL. Check pol->mode before access pol->w.cpuset_m…

  • Medium 5.5

    regulator: da9121: Fix uninit-value in da9121_assign_chip_model()

    In the Linux kernel, the following vulnerability has been resolved: regulator: da9121: Fix uninit-value in da9121_assign_chip_model() KASAN report slab-out-of-bounds in __regmap_init as follows: BUG: KASAN: slab-out-of-bounds in __regmap_init drivers/base/reg…

  • Medium 5.5

    tipc: check attribute length for bearer name

    In the Linux kernel, the following vulnerability has been resolved: tipc: check attribute length for bearer name syzbot reported uninit-value: ===================================================== BUG: KMSAN: uninit-value in string_nocheck lib/vsprintf.c:644 …

  • Medium 5.5

    rtl818x: Prevent using not initialized queues

    In the Linux kernel, the following vulnerability has been resolved: rtl818x: Prevent using not initialized queues Using not existing queues can panic the kernel with rtl8180/rtl8185 cards. Ignore the skb priority for those cards, they only have one tx queue. …

  • Medium 5.5

    staging: rtl8712: fix uninit-value in usb_read8() and friends

    In the Linux kernel, the following vulnerability has been resolved: staging: rtl8712: fix uninit-value in usb_read8() and friends When r8712_usbctrl_vendorreq() returns negative, 'data' in usb_read{8,16,32} will not be initialized. BUG: KMSAN: uninit-value in…

  • Medium 5.5

    staging: rtl8712: fix uninit-value in r871xu_drv_init()

    In the Linux kernel, the following vulnerability has been resolved: staging: rtl8712: fix uninit-value in r871xu_drv_init() When 'tmpU1b' returns from r8712_read8(padapter, EE_9346CR) is 0, 'mac[6]' will not be initialized. BUG: KMSAN: uninit-value in r871xu_…

  • Medium 5.5

    ath9k_htc: fix uninit value bugs

    In the Linux kernel, the following vulnerability has been resolved: ath9k_htc: fix uninit value bugs Syzbot reported 2 KMSAN bugs in ath9k. All of them are caused by missing field initialization. In htc_connect_service() svc_meta_len and pad are not initializ…

  • Medium 5.3

    Phusion Passenger denial of service

    The http parser in Phusion Passenger 6.0.21 through 6.0.25 before 6.0.26 allows a denial of service during parsing of a request with an invalid HTTP method.

  • Medium 6.2

    In BnAudioPolicyService::onTransact of IAudioPolicyService.cpp, there is a possible information disclosure due to unini…

  • High 7.1

    iio: pressure: zpa2326: fix information leak in triggered buffer

    In the Linux kernel, the following vulnerability has been resolved: iio: pressure: zpa2326: fix information leak in triggered buffer The 'sample' local struct is used to push data to user space from a triggered buffer, but it has a hole between the temperatur…

  • High 7.1

    iio: dummy: iio_simply_dummy_buffer: fix information leak in triggered buffer

    In the Linux kernel, the following vulnerability has been resolved: iio: dummy: iio_simply_dummy_buffer: fix information leak in triggered buffer The 'data' array is allocated via kmalloc() and it is used to push data to user space from a triggered buffer, bu…

  • High 7.1

    iio: light: vcnl4035: fix information leak in triggered buffer

    In the Linux kernel, the following vulnerability has been resolved: iio: light: vcnl4035: fix information leak in triggered buffer The 'buffer' local array is used to push data to userspace from a triggered buffer, but it does not set an initial value for the…

  • High 7.1

    iio: light: bh1745: fix information leak in triggered buffer

    In the Linux kernel, the following vulnerability has been resolved: iio: light: bh1745: fix information leak in triggered buffer The 'scan' local struct is used to push data to user space from a triggered buffer, but it does not set values for inactive channe…

  • High 7.1

    iio: imu: kmx61: fix information leak in triggered buffer

    In the Linux kernel, the following vulnerability has been resolved: iio: imu: kmx61: fix information leak in triggered buffer The 'buffer' local array is used to push data to user space from a triggered buffer, but it does not set values for inactive channels…

  • High 7.1

    iio: adc: rockchip_saradc: fix information leak in triggered buffer

    In the Linux kernel, the following vulnerability has been resolved: iio: adc: rockchip_saradc: fix information leak in triggered buffer The 'data' local struct is used to push data to user space from a triggered buffer, but it does not set values for inactive…

  • High 7.1

    iio: adc: ti-ads8688: fix information leak in triggered buffer

    In the Linux kernel, the following vulnerability has been resolved: iio: adc: ti-ads8688: fix information leak in triggered buffer The 'buffer' local array is used to push data to user space from a triggered buffer, but it does not set values for inactive cha…

  • High 7.1

    iio: adc: ti-ads1119: fix information leak in triggered buffer

    In the Linux kernel, the following vulnerability has been resolved: iio: adc: ti-ads1119: fix information leak in triggered buffer The 'scan' local struct is used to push data to user space from a triggered buffer, but it has a hole between the sample (unsign…

  • Critical 9.4

    netrom: check buffer length before accessing it

    In the Linux kernel, the following vulnerability has been resolved: netrom: check buffer length before accessing it Syzkaller reports an uninit value read from ax25cmp when sending raw message through ieee802154 implementation. ===============================…

  • Low 2.4

    Windows Smart Card Reader Information Disclosure Vulnerability

    Windows Smart Card Reader Information Disclosure Vulnerability

  • High 7.5

    Microsoft Message Queuing Information Disclosure Vulnerability

    Microsoft Message Queuing Information Disclosure Vulnerability

  • Medium 6.7

    Microsoft Outlook Remote Code Execution Vulnerability

    Microsoft Outlook Remote Code Execution Vulnerability

  • Medium 6.5

    Windows COM Server Information Disclosure Vulnerability

    Windows COM Server Information Disclosure Vulnerability

  • Medium 6.5

    Windows COM Server Information Disclosure Vulnerability

    Windows COM Server Information Disclosure Vulnerability

  • High 7.5
    CVE-2024-12085 Public exploit

    Rsync: info leak via uninitialized stack contents

    A flaw was found in rsync which could be triggered when rsync compares file checksums. This flaw allows an attacker to manipulate the checksum length (s2length) to cause a comparison between a checksum and uninitialized memory and leak one byte of uninitializ…

  • High 7.8

    An uninitialized resource in Ivanti EPM before the 2024 January-2025 Security Update and 2022 SU6 January-2025 Security…

  • Medium 6.1

    arm64: ptrace: fix partial SETREGSET for NT_ARM_FPMR

    In the Linux kernel, the following vulnerability has been resolved: arm64: ptrace: fix partial SETREGSET for NT_ARM_FPMR Currently fpmr_set() doesn't initialize the temporary 'fpmr' variable, and a SETREGSET call with a length of zero will leave this uninitia…

  • Medium 6.1

    arm64: ptrace: fix partial SETREGSET for NT_ARM_POE

    In the Linux kernel, the following vulnerability has been resolved: arm64: ptrace: fix partial SETREGSET for NT_ARM_POE Currently poe_set() doesn't initialize the temporary 'ctrl' variable, and a SETREGSET call with a length of zero will leave this uninitiali…

  • Medium 6.1

    arm64: ptrace: fix partial SETREGSET for NT_ARM_TAGGED_ADDR_CTRL

    In the Linux kernel, the following vulnerability has been resolved: arm64: ptrace: fix partial SETREGSET for NT_ARM_TAGGED_ADDR_CTRL Currently tagged_addr_ctrl_set() doesn't initialize the temporary 'ctrl' variable, and a SETREGSET call with a length of zero …

  • Medium 5.5

    rtc: check if __rtc_read_time was successful in rtc_timer_do_work()

    In the Linux kernel, the following vulnerability has been resolved: rtc: check if __rtc_read_time was successful in rtc_timer_do_work() If the __rtc_read_time call fails,, the struct rtc_time tm; may contain uninitialized data, or an illegal date/time read fr…

  • Medium 5.5

    net: hsr: avoid potential out-of-bound access in fill_frame_info()

    In the Linux kernel, the following vulnerability has been resolved: net: hsr: avoid potential out-of-bound access in fill_frame_info() syzbot is able to feed a packet with 14 bytes, pretending it is a vlan one. Since fill_frame_info() is relying on skb->mac_l…

  • High 7.1

    ocfs2: fix uninitialized value in ocfs2_file_read_iter()

    In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix uninitialized value in ocfs2_file_read_iter() Syzbot has reported the following KMSAN splat: BUG: KMSAN: uninit-value in ocfs2_file_read_iter+0x9a4/0xf80 ocfs2_file_read_iter+0x9a4…

  • High 8.5

    Rockwell Automation Third Party Vulnerability in Arena®

    Another “uninitialized variable” code execution vulnerability exists in the Rockwell Automation Arena® that could allow a threat actor to craft a DOE file and force the software to access a variable prior to it being initialized. If exploited, a threat actor …

  • Medium 5.6

    Uninitialized memory access in Motoko incremental garbage collector

    Motoko's incremental garbage collector is impacted by an uninitialized memory access bug, caused by incorrect use of write barriers in a few locations. This vulnerability could potentially allow unauthorized read or write access to a Canister's memory. Howeve…

  • High 7.5

    In gatts_process_read_by_type_req of gatt_sr.c, there is a possible information disclosure due to uninitialized data. T…

  • High 8.4

    In getIntentForIntentSender of ActivityManagerService.java, there is a possible way to access user metadata due to a pe…

  • Medium 5.5

    fs: Fix uninitialized value issue in from_kuid and from_kgid

    In the Linux kernel, the following vulnerability has been resolved: fs: Fix uninitialized value issue in from_kuid and from_kgid ocfs2_setattr() uses attr->ia_mode, attr->ia_uid and attr->ia_gid in a trace point even though ATTR_MODE, ATTR_UID and ATTR_GID ar…

  • Medium 5.5

    In writeInplace of Parcel.cpp, there is a possible information leak across processes, using Binder, due to uninitialize…