Vulnerabilities

With the aim of informing, warning and helping professionals with the latest security vulnerabilities in technology systems, we have made a database available for users interested in this information, which is in Spanish and includes all of the latest documented and recognised vulnerabilities.

This repository, with over 75,000 registers, is based on the information from the NVD (National Vulnerability Database) – by virtue of a partnership agreement – through which INCIBE translates the included information into Spanish.

On occasions this list will show vulnerabilities that have still not been translated, as they are added while the INCIBE team is still carrying out the translation process. The CVE  (Common Vulnerabilities and Exposures) Standard for Information Security Vulnerability Names is used with the aim to support the exchange of information between different tools and databases.

All vulnerabilities collected are linked to different information sources, as well as available patches or solutions provided by manufacturers and developers. It is possible to carry out advanced searches, as there is the option to select different criteria to narrow down the results, some examples being vulnerability types, manufacturers and impact levels, among others.

Through RSS feeds or Newsletters we can be informed daily about the latest vulnerabilities added to the repository. Below there is a list, updated daily, where you can discover the latest vulnerabilities.

CVE-2024-40901

Publication date:
12/07/2024
In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> scsi: mpt3sas: Avoid test/set_bit() operating in non-allocated memory<br /> <br /> There is a potential out-of-bounds access when using test_bit() on a single<br /> word. The test_bit() and set_bit() functions operate on long values, and<br /> when testing or setting a single word, they can exceed the word<br /> boundary. KASAN detects this issue and produces a dump:<br /> <br /> BUG: KASAN: slab-out-of-bounds in _scsih_add_device.constprop.0 (./arch/x86/include/asm/bitops.h:60 ./include/asm-generic/bitops/instrumented-atomic.h:29 drivers/scsi/mpt3sas/mpt3sas_scsih.c:7331) mpt3sas<br /> <br /> Write of size 8 at addr ffff8881d26e3c60 by task kworker/u1536:2/2965<br /> <br /> For full log, please look at [1].<br /> <br /> Make the allocation at least the size of sizeof(unsigned long) so that<br /> set_bit() and test_bit() have sufficient room for read/write operations<br /> without overwriting unallocated memory.<br /> <br /> [1] Link: https://lore.kernel.org/all/ZkNcALr3W3KGYYJG@gmail.com/
Severity CVSS v4.0: Pending analysis
Last modification:
15/10/2026

CVE-2024-40902

Publication date:
12/07/2024
In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> jfs: xattr: fix buffer overflow for invalid xattr<br /> <br /> When an xattr size is not what is expected, it is printed out to the<br /> kernel log in hex format as a form of debugging. But when that xattr<br /> size is bigger than the expected size, printing it out can cause an<br /> access off the end of the buffer.<br /> <br /> Fix this all up by properly restricting the size of the debug hex dump<br /> in the kernel log.
Severity CVSS v4.0: Pending analysis
Last modification:
03/11/2025

CVE-2024-40903

Publication date:
12/07/2024
In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> usb: typec: tcpm: fix use-after-free case in tcpm_register_source_caps<br /> <br /> There could be a potential use-after-free case in<br /> tcpm_register_source_caps(). This could happen when:<br /> * new (say invalid) source caps are advertised<br /> * the existing source caps are unregistered<br /> * tcpm_register_source_caps() returns with an error as<br /> usb_power_delivery_register_capabilities() fails<br /> <br /> This causes port-&gt;partner_source_caps to hold on to the now freed source<br /> caps.<br /> <br /> Reset port-&gt;partner_source_caps value to NULL after unregistering<br /> existing source caps.
Severity CVSS v4.0: Pending analysis
Last modification:
03/11/2025

CVE-2024-40904

Publication date:
12/07/2024
In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> USB: class: cdc-wdm: Fix CPU lockup caused by excessive log messages<br /> <br /> The syzbot fuzzer found that the interrupt-URB completion callback in<br /> the cdc-wdm driver was taking too long, and the driver&amp;#39;s immediate<br /> resubmission of interrupt URBs with -EPROTO status combined with the<br /> dummy-hcd emulation to cause a CPU lockup:<br /> <br /> cdc_wdm 1-1:1.0: nonzero urb status received: -71<br /> cdc_wdm 1-1:1.0: wdm_int_callback - 0 bytes<br /> watchdog: BUG: soft lockup - CPU#0 stuck for 26s! [syz-executor782:6625]<br /> CPU#0 Utilization every 4s during lockup:<br /> #1: 98% system, 0% softirq, 3% hardirq, 0% idle<br /> #2: 98% system, 0% softirq, 3% hardirq, 0% idle<br /> #3: 98% system, 0% softirq, 3% hardirq, 0% idle<br /> #4: 98% system, 0% softirq, 3% hardirq, 0% idle<br /> #5: 98% system, 1% softirq, 3% hardirq, 0% idle<br /> Modules linked in:<br /> irq event stamp: 73096<br /> hardirqs last enabled at (73095): [] console_emit_next_record kernel/printk/printk.c:2935 [inline]<br /> hardirqs last enabled at (73095): [] console_flush_all+0x650/0xb74 kernel/printk/printk.c:2994<br /> hardirqs last disabled at (73096): [] __el1_irq arch/arm64/kernel/entry-common.c:533 [inline]<br /> hardirqs last disabled at (73096): [] el1_interrupt+0x24/0x68 arch/arm64/kernel/entry-common.c:551<br /> softirqs last enabled at (73048): [] softirq_handle_end kernel/softirq.c:400 [inline]<br /> softirqs last enabled at (73048): [] handle_softirqs+0xa60/0xc34 kernel/softirq.c:582<br /> softirqs last disabled at (73043): [] __do_softirq+0x14/0x20 kernel/softirq.c:588<br /> CPU: 0 PID: 6625 Comm: syz-executor782 Tainted: G W 6.10.0-rc2-syzkaller-g8867bbd4a056 #0<br /> Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024<br /> <br /> Testing showed that the problem did not occur if the two error<br /> messages -- the first two lines above -- were removed; apparently adding<br /> material to the kernel log takes a surprisingly large amount of time.<br /> <br /> In any case, the best approach for preventing these lockups and to<br /> avoid spamming the log with thousands of error messages per second is<br /> to ratelimit the two dev_err() calls. Therefore we replace them with<br /> dev_err_ratelimited().
Severity CVSS v4.0: Pending analysis
Last modification:
03/11/2025

CVE-2024-40905

Publication date:
12/07/2024
In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ipv6: fix possible race in __fib6_drop_pcpu_from()<br /> <br /> syzbot found a race in __fib6_drop_pcpu_from() [1]<br /> <br /> If compiler reads more than once (*ppcpu_rt),<br /> second read could read NULL, if another cpu clears<br /> the value in rt6_get_pcpu_route().<br /> <br /> Add a READ_ONCE() to prevent this race.<br /> <br /> Also add rcu_read_lock()/rcu_read_unlock() because<br /> we rely on RCU protection while dereferencing pcpu_rt.<br /> <br /> [1]<br /> <br /> Oops: general protection fault, probably for non-canonical address 0xdffffc0000000012: 0000 [#1] PREEMPT SMP KASAN PTI<br /> KASAN: null-ptr-deref in range [0x0000000000000090-0x0000000000000097]<br /> CPU: 0 PID: 7543 Comm: kworker/u8:17 Not tainted 6.10.0-rc1-syzkaller-00013-g2bfcfd584ff5 #0<br /> Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024<br /> Workqueue: netns cleanup_net<br /> RIP: 0010:__fib6_drop_pcpu_from.part.0+0x10a/0x370 net/ipv6/ip6_fib.c:984<br /> Code: f8 48 c1 e8 03 80 3c 28 00 0f 85 16 02 00 00 4d 8b 3f 4d 85 ff 74 31 e8 74 a7 fa f7 49 8d bf 90 00 00 00 48 89 f8 48 c1 e8 03 3c 28 00 0f 85 1e 02 00 00 49 8b 87 90 00 00 00 48 8b 0c 24 48<br /> RSP: 0018:ffffc900040df070 EFLAGS: 00010206<br /> RAX: 0000000000000012 RBX: 0000000000000001 RCX: ffffffff89932e16<br /> RDX: ffff888049dd1e00 RSI: ffffffff89932d7c RDI: 0000000000000091<br /> RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000007<br /> R10: 0000000000000001 R11: 0000000000000006 R12: ffff88807fa080b8<br /> R13: fffffbfff1a9a07d R14: ffffed100ff41022 R15: 0000000000000001<br /> FS: 0000000000000000(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000<br /> CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033<br /> CR2: 0000001b32c26000 CR3: 000000005d56e000 CR4: 00000000003526f0<br /> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000<br /> DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400<br /> Call Trace:<br /> <br /> __fib6_drop_pcpu_from net/ipv6/ip6_fib.c:966 [inline]<br /> fib6_drop_pcpu_from net/ipv6/ip6_fib.c:1027 [inline]<br /> fib6_purge_rt+0x7f2/0x9f0 net/ipv6/ip6_fib.c:1038<br /> fib6_del_route net/ipv6/ip6_fib.c:1998 [inline]<br /> fib6_del+0xa70/0x17b0 net/ipv6/ip6_fib.c:2043<br /> fib6_clean_node+0x426/0x5b0 net/ipv6/ip6_fib.c:2205<br /> fib6_walk_continue+0x44f/0x8d0 net/ipv6/ip6_fib.c:2127<br /> fib6_walk+0x182/0x370 net/ipv6/ip6_fib.c:2175<br /> fib6_clean_tree+0xd7/0x120 net/ipv6/ip6_fib.c:2255<br /> __fib6_clean_all+0x100/0x2d0 net/ipv6/ip6_fib.c:2271<br /> rt6_sync_down_dev net/ipv6/route.c:4906 [inline]<br /> rt6_disable_ip+0x7ed/0xa00 net/ipv6/route.c:4911<br /> addrconf_ifdown.isra.0+0x117/0x1b40 net/ipv6/addrconf.c:3855<br /> addrconf_notify+0x223/0x19e0 net/ipv6/addrconf.c:3778<br /> notifier_call_chain+0xb9/0x410 kernel/notifier.c:93<br /> call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:1992<br /> call_netdevice_notifiers_extack net/core/dev.c:2030 [inline]<br /> call_netdevice_notifiers net/core/dev.c:2044 [inline]<br /> dev_close_many+0x333/0x6a0 net/core/dev.c:1585<br /> unregister_netdevice_many_notify+0x46d/0x19f0 net/core/dev.c:11193<br /> unregister_netdevice_many net/core/dev.c:11276 [inline]<br /> default_device_exit_batch+0x85b/0xae0 net/core/dev.c:11759<br /> ops_exit_list+0x128/0x180 net/core/net_namespace.c:178<br /> cleanup_net+0x5b7/0xbf0 net/core/net_namespace.c:640<br /> process_one_work+0x9fb/0x1b60 kernel/workqueue.c:3231<br /> process_scheduled_works kernel/workqueue.c:3312 [inline]<br /> worker_thread+0x6c8/0xf70 kernel/workqueue.c:3393<br /> kthread+0x2c1/0x3a0 kernel/kthread.c:389<br /> ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147<br /> ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Severity CVSS v4.0: Pending analysis
Last modification:
15/10/2026

CVE-2024-40906

Publication date:
12/07/2024
In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> net/mlx5: Always stop health timer during driver removal<br /> <br /> Currently, if teardown_hca fails to execute during driver removal, mlx5<br /> does not stop the health timer. Afterwards, mlx5 continue with driver<br /> teardown. This may lead to a UAF bug, which results in page fault<br /> Oops[1], since the health timer invokes after resources were freed.<br /> <br /> Hence, stop the health monitor even if teardown_hca fails.<br /> <br /> [1]<br /> mlx5_core 0000:18:00.0: E-Switch: Unload vfs: mode(LEGACY), nvfs(0), necvfs(0), active vports(0)<br /> mlx5_core 0000:18:00.0: E-Switch: Disable: mode(LEGACY), nvfs(0), necvfs(0), active vports(0)<br /> mlx5_core 0000:18:00.0: E-Switch: Disable: mode(LEGACY), nvfs(0), necvfs(0), active vports(0)<br /> mlx5_core 0000:18:00.0: E-Switch: cleanup<br /> mlx5_core 0000:18:00.0: wait_func:1155:(pid 1967079): TEARDOWN_HCA(0x103) timeout. Will cause a leak of a command resource<br /> mlx5_core 0000:18:00.0: mlx5_function_close:1288:(pid 1967079): tear_down_hca failed, skip cleanup<br /> BUG: unable to handle page fault for address: ffffa26487064230<br /> PGD 100c00067 P4D 100c00067 PUD 100e5a067 PMD 105ed7067 PTE 0<br /> Oops: 0000 [#1] PREEMPT SMP PTI<br /> CPU: 0 PID: 0 Comm: swapper/0 Tainted: G OE ------- --- 6.7.0-68.fc38.x86_64 #1<br /> Hardware name: Intel Corporation S2600WFT/S2600WFT, BIOS SE5C620.86B.02.01.0013.121520200651 12/15/2020<br /> RIP: 0010:ioread32be+0x34/0x60<br /> RSP: 0018:ffffa26480003e58 EFLAGS: 00010292<br /> RAX: ffffa26487064200 RBX: ffff9042d08161a0 RCX: ffff904c108222c0<br /> RDX: 000000010bbf1b80 RSI: ffffffffc055ddb0 RDI: ffffa26487064230<br /> RBP: ffff9042d08161a0 R08: 0000000000000022 R09: ffff904c108222e8<br /> R10: 0000000000000004 R11: 0000000000000441 R12: ffffffffc055ddb0<br /> R13: ffffa26487064200 R14: ffffa26480003f00 R15: ffff904c108222c0<br /> FS: 0000000000000000(0000) GS:ffff904c10800000(0000) knlGS:0000000000000000<br /> CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033<br /> CR2: ffffa26487064230 CR3: 00000002c4420006 CR4: 00000000007706f0<br /> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000<br /> DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400<br /> PKRU: 55555554<br /> Call Trace:<br /> <br /> ? __die+0x23/0x70<br /> ? page_fault_oops+0x171/0x4e0<br /> ? exc_page_fault+0x175/0x180<br /> ? asm_exc_page_fault+0x26/0x30<br /> ? __pfx_poll_health+0x10/0x10 [mlx5_core]<br /> ? __pfx_poll_health+0x10/0x10 [mlx5_core]<br /> ? ioread32be+0x34/0x60<br /> mlx5_health_check_fatal_sensors+0x20/0x100 [mlx5_core]<br /> ? __pfx_poll_health+0x10/0x10 [mlx5_core]<br /> poll_health+0x42/0x230 [mlx5_core]<br /> ? __next_timer_interrupt+0xbc/0x110<br /> ? __pfx_poll_health+0x10/0x10 [mlx5_core]<br /> call_timer_fn+0x21/0x130<br /> ? __pfx_poll_health+0x10/0x10 [mlx5_core]<br /> __run_timers+0x222/0x2c0<br /> run_timer_softirq+0x1d/0x40<br /> __do_softirq+0xc9/0x2c8<br /> __irq_exit_rcu+0xa6/0xc0<br /> sysvec_apic_timer_interrupt+0x72/0x90<br /> <br /> <br /> asm_sysvec_apic_timer_interrupt+0x1a/0x20<br /> RIP: 0010:cpuidle_enter_state+0xcc/0x440<br /> ? cpuidle_enter_state+0xbd/0x440<br /> cpuidle_enter+0x2d/0x40<br /> do_idle+0x20d/0x270<br /> cpu_startup_entry+0x2a/0x30<br /> rest_init+0xd0/0xd0<br /> arch_call_rest_init+0xe/0x30<br /> start_kernel+0x709/0xa90<br /> x86_64_start_reservations+0x18/0x30<br /> x86_64_start_kernel+0x96/0xa0<br /> secondary_startup_64_no_verify+0x18f/0x19b<br /> ---[ end trace 0000000000000000 ]---
Severity CVSS v4.0: Pending analysis
Last modification:
03/11/2025

CVE-2024-40907

Publication date:
12/07/2024
In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ionic: fix kernel panic in XDP_TX action<br /> <br /> In the XDP_TX path, ionic driver sends a packet to the TX path with rx<br /> page and corresponding dma address.<br /> After tx is done, ionic_tx_clean() frees that page.<br /> But RX ring buffer isn&amp;#39;t reset to NULL.<br /> So, it uses a freed page, which causes kernel panic.<br /> <br /> BUG: unable to handle page fault for address: ffff8881576c110c<br /> PGD 773801067 P4D 773801067 PUD 87f086067 PMD 87efca067 PTE 800ffffea893e060<br /> Oops: Oops: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC KASAN NOPTI<br /> CPU: 1 PID: 25 Comm: ksoftirqd/1 Not tainted 6.9.0+ #11<br /> Hardware name: ASUS System Product Name/PRIME Z690-P D4, BIOS 0603 11/01/2021<br /> RIP: 0010:bpf_prog_f0b8caeac1068a55_balancer_ingress+0x3b/0x44f<br /> Code: 00 53 41 55 41 56 41 57 b8 01 00 00 00 48 8b 5f 08 4c 8b 77 00 4c 89 f7 48 83 c7 0e 48 39 d8<br /> RSP: 0018:ffff888104e6fa28 EFLAGS: 00010283<br /> RAX: 0000000000000002 RBX: ffff8881576c1140 RCX: 0000000000000002<br /> RDX: ffffffffc0051f64 RSI: ffffc90002d33048 RDI: ffff8881576c110e<br /> RBP: ffff888104e6fa88 R08: 0000000000000000 R09: ffffed1027a04a23<br /> R10: 0000000000000000 R11: 0000000000000000 R12: ffff8881b03a21a8<br /> R13: ffff8881589f800f R14: ffff8881576c1100 R15: 00000001576c1100<br /> FS: 0000000000000000(0000) GS:ffff88881ae00000(0000) knlGS:0000000000000000<br /> CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033<br /> CR2: ffff8881576c110c CR3: 0000000767a90000 CR4: 00000000007506f0<br /> PKRU: 55555554<br /> Call Trace:<br /> <br /> ? __die+0x20/0x70<br /> ? page_fault_oops+0x254/0x790<br /> ? __pfx_page_fault_oops+0x10/0x10<br /> ? __pfx_is_prefetch.constprop.0+0x10/0x10<br /> ? search_bpf_extables+0x165/0x260<br /> ? fixup_exception+0x4a/0x970<br /> ? exc_page_fault+0xcb/0xe0<br /> ? asm_exc_page_fault+0x22/0x30<br /> ? 0xffffffffc0051f64<br /> ? bpf_prog_f0b8caeac1068a55_balancer_ingress+0x3b/0x44f<br /> ? do_raw_spin_unlock+0x54/0x220<br /> ionic_rx_service+0x11ab/0x3010 [ionic 9180c3001ab627d82bbc5f3ebe8a0decaf6bb864]<br /> ? ionic_tx_clean+0x29b/0xc60 [ionic 9180c3001ab627d82bbc5f3ebe8a0decaf6bb864]<br /> ? __pfx_ionic_tx_clean+0x10/0x10 [ionic 9180c3001ab627d82bbc5f3ebe8a0decaf6bb864]<br /> ? __pfx_ionic_rx_service+0x10/0x10 [ionic 9180c3001ab627d82bbc5f3ebe8a0decaf6bb864]<br /> ? ionic_tx_cq_service+0x25d/0xa00 [ionic 9180c3001ab627d82bbc5f3ebe8a0decaf6bb864]<br /> ? __pfx_ionic_rx_service+0x10/0x10 [ionic 9180c3001ab627d82bbc5f3ebe8a0decaf6bb864]<br /> ionic_cq_service+0x69/0x150 [ionic 9180c3001ab627d82bbc5f3ebe8a0decaf6bb864]<br /> ionic_txrx_napi+0x11a/0x540 [ionic 9180c3001ab627d82bbc5f3ebe8a0decaf6bb864]<br /> __napi_poll.constprop.0+0xa0/0x440<br /> net_rx_action+0x7e7/0xc30<br /> ? __pfx_net_rx_action+0x10/0x10
Severity CVSS v4.0: Pending analysis
Last modification:
04/08/2026

CVE-2024-39340

Publication date:
12/07/2024
The authentication system of Securepoint UTM mishandles OTP keys. This allows the bypassing of second-factor verification (when OTP is enabled) in both the administration web interface and the user portal. Affected versions include UTM 11.5 through 12.6.4 and Reseller Preview 12.7.0. The issue has been fixed in UTM 12.6.5 and 12.7.1.
Severity CVSS v4.0: Pending analysis
Last modification:
15/04/2026

CVE-2024-39494

Publication date:
12/07/2024
In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ima: Fix use-after-free on a dentry&amp;#39;s dname.name<br /> <br /> -&gt;d_name.name can change on rename and the earlier value can be freed;<br /> there are conditions sufficient to stabilize it (-&gt;d_lock on dentry,<br /> -&gt;d_lock on its parent, -&gt;i_rwsem exclusive on the parent&amp;#39;s inode,<br /> rename_lock), but none of those are met at any of the sites. Take a stable<br /> snapshot of the name instead.
Severity CVSS v4.0: Pending analysis
Last modification:
04/08/2026

CVE-2024-39495

Publication date:
12/07/2024
In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> greybus: Fix use-after-free bug in gb_interface_release due to race condition.<br /> <br /> In gb_interface_create, &amp;intf-&gt;mode_switch_completion is bound with<br /> gb_interface_mode_switch_work. Then it will be started by<br /> gb_interface_request_mode_switch. Here is the relevant code.<br /> if (!queue_work(system_long_wq, &amp;intf-&gt;mode_switch_work)) {<br /> ...<br /> }<br /> <br /> If we call gb_interface_release to make cleanup, there may be an<br /> unfinished work. This function will call kfree to free the object<br /> "intf". However, if gb_interface_mode_switch_work is scheduled to<br /> run after kfree, it may cause use-after-free error as<br /> gb_interface_mode_switch_work will use the object "intf".<br /> The possible execution flow that may lead to the issue is as follows:<br /> <br /> CPU0 CPU1<br /> <br /> | gb_interface_create<br /> | gb_interface_request_mode_switch<br /> gb_interface_release |<br /> kfree(intf) (free) |<br /> | gb_interface_mode_switch_work<br /> | mutex_lock(&amp;intf-&gt;mutex) (use)<br /> <br /> Fix it by canceling the work before kfree.
Severity CVSS v4.0: Pending analysis
Last modification:
03/11/2025

CVE-2024-39496

Publication date:
12/07/2024
In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> btrfs: zoned: fix use-after-free due to race with dev replace<br /> <br /> While loading a zone&amp;#39;s info during creation of a block group, we can race<br /> with a device replace operation and then trigger a use-after-free on the<br /> device that was just replaced (source device of the replace operation).<br /> <br /> This happens because at btrfs_load_zone_info() we extract a device from<br /> the chunk map into a local variable and then use the device while not<br /> under the protection of the device replace rwsem. So if there&amp;#39;s a device<br /> replace operation happening when we extract the device and that device<br /> is the source of the replace operation, we will trigger a use-after-free<br /> if before we finish using the device the replace operation finishes and<br /> frees the device.<br /> <br /> Fix this by enlarging the critical section under the protection of the<br /> device replace rwsem so that all uses of the device are done inside the<br /> critical section.
Severity CVSS v4.0: Pending analysis
Last modification:
04/08/2026

CVE-2024-39497

Publication date:
12/07/2024
In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> drm/shmem-helper: Fix BUG_ON() on mmap(PROT_WRITE, MAP_PRIVATE)<br /> <br /> Lack of check for copy-on-write (COW) mapping in drm_gem_shmem_mmap<br /> allows users to call mmap with PROT_WRITE and MAP_PRIVATE flag<br /> causing a kernel panic due to BUG_ON in vmf_insert_pfn_prot:<br /> BUG_ON((vma-&gt;vm_flags &amp; VM_PFNMAP) &amp;&amp; is_cow_mapping(vma-&gt;vm_flags));<br /> <br /> Return -EINVAL early if COW mapping is detected.<br /> <br /> This bug affects all drm drivers using default shmem helpers.<br /> It can be reproduced by this simple example:<br /> void *ptr = mmap(0, size, PROT_WRITE, MAP_PRIVATE, fd, mmap_offset);<br /> ptr[0] = 0;
Severity CVSS v4.0: Pending analysis
Last modification:
03/11/2025