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-2026-31716

Publication date:
01/05/2026
In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> fs/ntfs3: validate rec-&gt;used in journal-replay file record check<br /> <br /> check_file_record() validates rec-&gt;total against the record size but<br /> never validates rec-&gt;used. The do_action() journal-replay handlers read<br /> rec-&gt;used from disk and use it to compute memmove lengths:<br /> <br /> DeleteAttribute: memmove(attr, ..., used - asize - roff)<br /> CreateAttribute: memmove(..., attr, used - roff)<br /> change_attr_size: memmove(..., used - PtrOffset(rec, next))<br /> <br /> When rec-&gt;used is smaller than the offset of a validated attribute, or<br /> larger than the record size, these subtractions can underflow allowing<br /> us to copy huge amounts of memory in to a 4kb buffer, generally<br /> considered a bad idea overall.<br /> <br /> This requires a corrupted filesystem, which isn&amp;#39;t a threat model the<br /> kernel really needs to worry about, but checking for such an obvious<br /> out-of-bounds value is good to keep things robust, especially on journal<br /> replay<br /> <br /> Fix this up by bounding rec-&gt;used correctly.<br /> <br /> This is much like commit b2bc7c44ed17 ("fs/ntfs3: Fix slab-out-of-bounds<br /> read in DeleteIndexEntryRoot") which checked different values in this<br /> same switch statement.
Severity CVSS v4.0: Pending analysis
Last modification:
11/11/2026

CVE-2026-31717

Publication date:
01/05/2026
In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ksmbd: validate owner of durable handle on reconnect<br /> <br /> Currently, ksmbd does not verify if the user attempting to reconnect<br /> to a durable handle is the same user who originally opened the file.<br /> This allows any authenticated user to hijack an orphaned durable handle<br /> by predicting or brute-forcing the persistent ID.<br /> <br /> According to MS-SMB2, the server MUST verify that the SecurityContext<br /> of the reconnect request matches the SecurityContext associated with<br /> the existing open.<br /> Add a durable_owner structure to ksmbd_file to store the original opener&amp;#39;s<br /> UID, GID, and account name. and catpure the owner information when a file<br /> handle becomes orphaned. and implementing ksmbd_vfs_compare_durable_owner()<br /> to validate the identity of the requester during SMB2_CREATE (DHnC).
Severity CVSS v4.0: Pending analysis
Last modification:
11/11/2026

CVE-2026-31718

Publication date:
01/05/2026
In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ksmbd: fix use-after-free in __ksmbd_close_fd() via durable scavenger<br /> <br /> When a durable file handle survives session disconnect (TCP close without<br /> SMB2_LOGOFF), session_fd_check() sets fp-&gt;conn = NULL to preserve the<br /> handle for later reconnection. However, it did not clean up the byte-range<br /> locks on fp-&gt;lock_list.<br /> <br /> Later, when the durable scavenger thread times out and calls<br /> __ksmbd_close_fd(NULL, fp), the lock cleanup loop did:<br /> <br /> spin_lock(&amp;fp-&gt;conn-&gt;llist_lock);<br /> <br /> This caused a slab use-after-free because fp-&gt;conn was NULL and the<br /> original connection object had already been freed by<br /> ksmbd_tcp_disconnect().<br /> <br /> The root cause is asymmetric cleanup: lock entries (smb_lock-&gt;clist) were<br /> left dangling on the freed conn-&gt;lock_list while fp-&gt;conn was nulled out.<br /> <br /> To fix this issue properly, we need to handle the lifetime of<br /> smb_lock-&gt;clist across three paths:<br /> - Safely skip clist deletion when list is empty and fp-&gt;conn is NULL.<br /> - Remove the lock from the old connection&amp;#39;s lock_list in<br /> session_fd_check()<br /> - Re-add the lock to the new connection&amp;#39;s lock_list in<br /> ksmbd_reopen_durable_fd().
Severity CVSS v4.0: Pending analysis
Last modification:
11/11/2026

CVE-2026-31701

Publication date:
01/05/2026
In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ALSA: caiaq: take a reference on the USB device in create_card()<br /> <br /> The caiaq driver stores a pointer to the parent USB device in<br /> cdev-&gt;chip.dev but never takes a reference on it. The card&amp;#39;s<br /> private_free callback, snd_usb_caiaq_card_free(), can run<br /> asynchronously via snd_card_free_when_closed() after the USB<br /> device has already been disconnected and freed, so any access to<br /> cdev-&gt;chip.dev in that path dereferences a freed usb_device.<br /> <br /> On top of the refcounting issue, the current card_free implementation<br /> calls usb_reset_device(cdev-&gt;chip.dev). A reset in a free callback<br /> is inappropriate: the device is going away, the call takes the<br /> device lock in a teardown context, and the reset races with the<br /> disconnect path that the callback is already cleaning up after.<br /> <br /> Take a reference on the USB device in create_card() with<br /> usb_get_dev(), drop it with usb_put_dev() in the free callback,<br /> and remove the usb_reset_device() call.
Severity CVSS v4.0: Pending analysis
Last modification:
11/11/2026

CVE-2026-31702

Publication date:
01/05/2026
In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> f2fs: fix use-after-free of sbi in f2fs_compress_write_end_io()<br /> <br /> In f2fs_compress_write_end_io(), dec_page_count(sbi, type) can bring<br /> the F2FS_WB_CP_DATA counter to zero, unblocking<br /> f2fs_wait_on_all_pages() in f2fs_put_super() on a concurrent unmount<br /> CPU. The unmount path then proceeds to call<br /> f2fs_destroy_page_array_cache(sbi), which destroys<br /> sbi-&gt;page_array_slab via kmem_cache_destroy(), and eventually<br /> kfree(sbi). Meanwhile, the bio completion callback is still executing:<br /> when it reaches page_array_free(sbi, ...), it dereferences<br /> sbi-&gt;page_array_slab — a destroyed slab cache — to call<br /> kmem_cache_free(), causing a use-after-free.<br /> <br /> This is the same class of bug as CVE-2026-23234 (which fixed the<br /> equivalent race in f2fs_write_end_io() in data.c), but in the<br /> compressed writeback completion path that was not covered by that fix.<br /> <br /> Fix this by moving dec_page_count() to after page_array_free(), so<br /> that all sbi accesses complete before the counter decrement that can<br /> unblock unmount. For non-last folios (where atomic_dec_return on<br /> cic-&gt;pending_pages is nonzero), dec_page_count is called immediately<br /> before returning — page_array_free is not reached on this path, so<br /> there is no post-decrement sbi access. For the last folio,<br /> page_array_free runs while the F2FS_WB_CP_DATA counter is still<br /> nonzero (this folio has not yet decremented it), keeping sbi alive,<br /> and dec_page_count runs as the final operation.
Severity CVSS v4.0: Pending analysis
Last modification:
11/11/2026

CVE-2026-31704

Publication date:
01/05/2026
In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ksmbd: use check_add_overflow() to prevent u16 DACL size overflow<br /> <br /> set_posix_acl_entries_dacl() and set_ntacl_dacl() accumulate ACE sizes<br /> in u16 variables. When a file has many POSIX ACL entries, the<br /> accumulated size can wrap past 65535, causing the pointer arithmetic<br /> (char *)pndace + *size to land within already-written ACEs. Subsequent<br /> writes then overwrite earlier entries, and pndacl-&gt;size gets a<br /> truncated value.<br /> <br /> Use check_add_overflow() at each accumulation point to detect the<br /> wrap before it corrupts the buffer, consistent with existing<br /> check_mul_overflow() usage elsewhere in smbacl.c.
Severity CVSS v4.0: Pending analysis
Last modification:
11/11/2026

CVE-2026-31703

Publication date:
01/05/2026
In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> writeback: Fix use after free in inode_switch_wbs_work_fn()<br /> <br /> inode_switch_wbs_work_fn() has a loop like:<br /> <br /> wb_get(new_wb);<br /> while (1) {<br /> list = llist_del_all(&amp;new_wb-&gt;switch_wbs_ctxs);<br /> /* Nothing to do? */<br /> if (!list)<br /> break;<br /> ... process the items ...<br /> }<br /> <br /> Now adding of items to the list looks like:<br /> <br /> wb_queue_isw()<br /> if (llist_add(&amp;isw-&gt;list, &amp;wb-&gt;switch_wbs_ctxs))<br /> queue_work(isw_wq, &amp;wb-&gt;switch_work);<br /> <br /> Because inode_switch_wbs_work_fn() loops when processing isw items, it<br /> can happen that wb-&gt;switch_work is pending while wb-&gt;switch_wbs_ctxs is<br /> empty. This is a problem because in that case wb can get freed (no isw<br /> items -&gt; no wb reference) while the work is still pending causing<br /> use-after-free issues.<br /> <br /> We cannot just fix this by cancelling work when freeing wb because that<br /> could still trigger problematic 0 -&gt; 1 transitions on wb refcount due to<br /> wb_get() in inode_switch_wbs_work_fn(). It could be all handled with<br /> more careful code but that seems unnecessarily complex so let&amp;#39;s avoid<br /> that until it is proven that the looping actually brings practical<br /> benefit. Just remove the loop from inode_switch_wbs_work_fn() instead.<br /> That way when wb_queue_isw() queues work, we are guaranteed we have<br /> added the first item to wb-&gt;switch_wbs_ctxs and nobody is going to<br /> remove it (and drop the wb reference it holds) until the queued work<br /> runs.
Severity CVSS v4.0: Pending analysis
Last modification:
11/11/2026

CVE-2026-31706

Publication date:
01/05/2026
In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ksmbd: validate num_aces and harden ACE walk in smb_inherit_dacl()<br /> <br /> smb_inherit_dacl() trusts the on-disk num_aces value from the parent<br /> directory&amp;#39;s DACL xattr and uses it to size a heap allocation:<br /> <br /> aces_base = kmalloc(sizeof(struct smb_ace) * num_aces * 2, ...);<br /> <br /> num_aces is a u16 read from le16_to_cpu(parent_pdacl-&gt;num_aces)<br /> without checking that it is consistent with the declared pdacl_size.<br /> An authenticated client whose parent directory&amp;#39;s security.NTACL is<br /> tampered (e.g. via offline xattr corruption or a concurrent path that<br /> bypasses parse_dacl()) can present num_aces = 65535 with minimal<br /> actual ACE data. This causes a ~8 MB allocation (not kzalloc, so<br /> uninitialized) that the subsequent loop only partially populates, and<br /> may also overflow the three-way size_t multiply on 32-bit kernels.<br /> <br /> Additionally, the ACE walk loop uses the weaker<br /> offsetof(struct smb_ace, access_req) minimum size check rather than<br /> the minimum valid on-wire ACE size, and does not reject ACEs whose<br /> declared size is below the minimum.<br /> <br /> Reproduced on UML + KASAN + LOCKDEP against the real ksmbd code path.<br /> A legitimate mount.cifs client creates a parent directory over SMB<br /> (ksmbd writes a valid security.NTACL xattr), then the NTACL blob on<br /> the backing filesystem is rewritten to set num_aces = 0xFFFF while<br /> keeping the posix_acl_hash bytes intact so ksmbd_vfs_get_sd_xattr()&amp;#39;s<br /> hash check still passes. A subsequent SMB2 CREATE of a child under<br /> that parent drives smb2_open() into smb_inherit_dacl() (share has<br /> "vfs objects = acl_xattr" set), which fails the page allocator:<br /> <br /> WARNING: mm/page_alloc.c:5226 at __alloc_frozen_pages_noprof+0x46c/0x9c0<br /> Workqueue: ksmbd-io handle_ksmbd_work<br /> __alloc_frozen_pages_noprof+0x46c/0x9c0<br /> ___kmalloc_large_node+0x68/0x130<br /> __kmalloc_large_node_noprof+0x24/0x70<br /> __kmalloc_noprof+0x4c9/0x690<br /> smb_inherit_dacl+0x394/0x2430<br /> smb2_open+0x595d/0xabe0<br /> handle_ksmbd_work+0x3d3/0x1140<br /> <br /> With the patch applied the added guard rejects the tampered value<br /> with -EINVAL before any large allocation runs, smb2_open() falls back<br /> to smb2_create_sd_buffer(), and the child is created with a default<br /> SD. No warning, no splat.<br /> <br /> Fix by:<br /> <br /> 1. Validating num_aces against pdacl_size using the same formula<br /> applied in parse_dacl().<br /> <br /> 2. Replacing the raw kmalloc(sizeof * num_aces * 2) with<br /> kmalloc_array(num_aces * 2, sizeof(...)) for overflow-safe<br /> allocation.<br /> <br /> 3. Tightening the per-ACE loop guard to require the minimum valid<br /> ACE size (offsetof(smb_ace, sid) + CIFS_SID_BASE_SIZE) and<br /> rejecting under-sized ACEs, matching the hardening in<br /> smb_check_perm_dacl() and parse_dacl().<br /> <br /> v1 -&gt; v2:<br /> - Replace the synthetic test-module splat in the changelog with a<br /> real-path UML + KASAN reproduction driven through mount.cifs and<br /> SMB2 CREATE; Namjae flagged the kcifs3_test_inherit_dacl_old name<br /> in v1 since it does not exist in ksmbd.<br /> - Drop the commit-hash citation from the code comment per Namjae&amp;#39;s<br /> review; keep the parse_dacl() pointer.
Severity CVSS v4.0: Pending analysis
Last modification:
11/11/2026

CVE-2026-31707

Publication date:
01/05/2026
In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ksmbd: validate response sizes in ipc_validate_msg()<br /> <br /> ipc_validate_msg() computes the expected message size for each<br /> response type by adding (or multiplying) attacker-controlled fields<br /> from the daemon response to a fixed struct size in unsigned int<br /> arithmetic. Three cases can overflow:<br /> <br /> KSMBD_EVENT_RPC_REQUEST:<br /> msg_sz = sizeof(struct ksmbd_rpc_command) + resp-&gt;payload_sz;<br /> KSMBD_EVENT_SHARE_CONFIG_REQUEST:<br /> msg_sz = sizeof(struct ksmbd_share_config_response) +<br /> resp-&gt;payload_sz;<br /> KSMBD_EVENT_LOGIN_REQUEST_EXT:<br /> msg_sz = sizeof(struct ksmbd_login_response_ext) +<br /> resp-&gt;ngroups * sizeof(gid_t);<br /> <br /> resp-&gt;payload_sz is __u32 and resp-&gt;ngroups is __s32. Each addition<br /> can wrap in unsigned int; the multiplication by sizeof(gid_t) mixes<br /> signed and size_t, so a negative ngroups is converted to SIZE_MAX<br /> before the multiply. A wrapped value of msg_sz that happens to<br /> equal entry-&gt;msg_sz bypasses the size check on the next line, and<br /> downstream consumers (smb2pdu.c:6742 memcpy using rpc_resp-&gt;payload_sz,<br /> kmemdup in ksmbd_alloc_user using resp_ext-&gt;ngroups) then trust the<br /> unverified length.<br /> <br /> Use check_add_overflow() on the RPC_REQUEST and SHARE_CONFIG_REQUEST<br /> paths to detect integer overflow without constraining functional<br /> payload size; userspace ksmbd-tools grows NDR responses in 4096-byte<br /> chunks for calls like NetShareEnumAll, so a hard transport cap is<br /> unworkable on the response side. For LOGIN_REQUEST_EXT, reject<br /> resp-&gt;ngroups outside the signed [0, NGROUPS_MAX] range up front and<br /> report the error from ipc_validate_msg() so it fires at the IPC<br /> boundary; with that bound the subsequent multiplication and addition<br /> stay well below UINT_MAX. The now-redundant ngroups check and<br /> pr_err in ksmbd_alloc_user() are removed.<br /> <br /> This is the response-side analogue of aab98e2dbd64 ("ksmbd: fix<br /> integer overflows on 32 bit systems"), which hardened the request<br /> side.
Severity CVSS v4.0: Pending analysis
Last modification:
11/11/2026

CVE-2026-31708

Publication date:
01/05/2026
In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> smb: client: fix OOB read in smb2_ioctl_query_info QUERY_INFO path<br /> <br /> smb2_ioctl_query_info() has two response-copy branches: PASSTHRU_FSCTL<br /> and the default QUERY_INFO path. The QUERY_INFO branch clamps<br /> qi.input_buffer_length to the server-reported OutputBufferLength and then<br /> copies qi.input_buffer_length bytes from qi_rsp-&gt;Buffer to userspace, but<br /> it never verifies that the flexible-array payload actually fits within<br /> rsp_iov[1].iov_len.<br /> <br /> A malicious server can return OutputBufferLength larger than the actual<br /> QUERY_INFO response, causing copy_to_user() to walk past the response<br /> buffer and expose adjacent kernel heap to userspace.<br /> <br /> Guard the QUERY_INFO copy with a bounds check on the actual Buffer<br /> payload. Use struct_size(qi_rsp, Buffer, qi.input_buffer_length)<br /> rather than an open-coded addition so the guard cannot overflow on<br /> 32-bit builds.
Severity CVSS v4.0: Pending analysis
Last modification:
11/11/2026

CVE-2026-31709

Publication date:
01/05/2026
In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> smb: client: validate the whole DACL before rewriting it in cifsacl<br /> <br /> build_sec_desc() and id_mode_to_cifs_acl() derive a DACL pointer from a<br /> server-supplied dacloffset and then use the incoming ACL to rebuild the<br /> chmod/chown security descriptor.<br /> <br /> The original fix only checked that the struct smb_acl header fits before<br /> reading dacl_ptr-&gt;size or dacl_ptr-&gt;num_aces. That avoids the immediate<br /> header-field OOB read, but the rewrite helpers still walk ACEs based on<br /> pdacl-&gt;num_aces with no structural validation of the incoming DACL body.<br /> <br /> A malicious server can return a truncated DACL that still contains a<br /> header, claims one or more ACEs, and then drive<br /> replace_sids_and_copy_aces() or set_chmod_dacl() past the validated<br /> extent while they compare or copy attacker-controlled ACEs.<br /> <br /> Factor the DACL structural checks into validate_dacl(), extend them to<br /> validate each ACE against the DACL bounds, and use the shared validator<br /> before the chmod/chown rebuild paths. parse_dacl() reuses the same<br /> validator so the read-side parser and write-side rewrite paths agree on<br /> what constitutes a well-formed incoming DACL.
Severity CVSS v4.0: Pending analysis
Last modification:
11/11/2026

CVE-2026-31705

Publication date:
01/05/2026
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix out-of-bounds write in smb2_get_ea() EA alignment smb2_get_ea() applies 4-byte alignment padding via memset() after writing each EA entry. The bounds check on buf_free_len is performed before the value memcpy, but the alignment memset fires unconditionally afterward with no check on remaining space. When the EA value exactly fills the remaining buffer (buf_free_len == 0 after value subtraction), the alignment memset writes 1-3 NUL bytes past the buf_free_len boundary. In compound requests where the response buffer is shared across commands, the first command (e.g., READ) can consume most of the buffer, leaving a tight remainder for the QUERY_INFO EA response. The alignment memset then overwrites past the physical kvmalloc allocation into adjacent kernel heap memory. Add a bounds check before the alignment memset to ensure buf_free_len can accommodate the padding bytes. This is the same bug pattern fixed by commit beef2634f81f (&quot;ksmbd: fix potencial OOB in get_file_all_info() for compound requests&quot;) and commit fda9522ed6af (&quot;ksmbd: fix OOB write in QUERY_INFO for compound requests&quot;), both of which added bounds checks before unconditional writes in QUERY_INFO response handlers.
Severity CVSS v4.0: Pending analysis
Last modification:
23/11/2026