| CVE |
Vendors |
Products |
Updated |
CVSS v3.1 |
| In the Linux kernel, the following vulnerability has been resolved:
quota: initialize dquot cache before mounting rootfs
On some systems, a tmpfs backed rootfs is extensively used throughout
system's lifecycle. tmpfs quotas are needed to limit per user rootfs
usage. However, booting with CONFIG_TMPFS_QUOTA=y, an initramfs, no root=
and "initramfs_options=usrquota" panics at boot:
BUG: kernel NULL pointer dereference, address: 0000000000000000
RIP: 0010:dqget+0x1ac/0x490
Call Trace:
__dquot_initialize
dquot_initialize
shmem_get_inode
shmem_fill_super
...
mnt_init
vfs_caches_init
start_kernel
The rootfs is mounted from mnt_init(), but the dquot hash table and
cache are only set up later by dquot_init(), an fs_initcall. Creating
the root inode of a quota enabled rootfs thus dereferences the NULL
dquot_hash in dqget().
Rename dquot_init() to dquot_cache_init() and call it from
vfs_caches_init() before mnt_init(). The slab, percpu and early
workqueue code it relies on is available there, and the workqueue
rescuer and shrinker debugfs entries are set up later by their own
subsystems. Keep the sysctl registration in an fs_initcall, as done
for the dcache, inode and mount sysctls. This only moves existing
allocations earlier in boot. |
| NGINX Unit 1.29.0 through 1.35.0 and the FreeUnit fork before 1.37.2 contain an OS command injection vulnerability in the tools/setup-unit helper, where unit_cmd() takes the unitd command line from the bracketed text in the title of any process whose ps output contains 'unit: main', without checking who owns that process. unit_sock_find() and unit_ctl_welcome() run that text as a command, and from 1.31.0 unit_restart() passes it to eval. Local unprivileged users can start a process titled like the unitd main process, so that an administrator who runs setup-unit as root, for example 'setup-unit ctl' without -s, 'sock find' or 'restart', executes a program or shell commands chosen by the attacker as root. |
| Jirafeau 4.7.1 allows an unauthenticated attacker to abuse the asynchronous upload workflow to write attacker-controlled data outside the intended VAR_ASYNC directory and finalize it as a real Jirafeau file/link object. The resulting public link is immediately considered expired because of degraded metadata. The administrative cleanup skips it because the link has an empty time value. To fix this, Jirafeau now validates upload references and the corresponding files before opening. Jirafeau now also an empty time value stored in a reference now invalidates this file and marks it for deletion. |
| Improperly controlled model selection in the license and generic JSON import of Hermine before 0.7.1 allows an authenticated user with the license or generic import permission to create or overwrite arbitrary database objects, including a superuser account, via a crafted JSON file. |
| VLC media player 3.0.0 before 3.0.22 contains a heap buffer underwrite vulnerability in CEA708_Window_Scroll() in modules/codec/cea708.c that shifts each row of a right-to-left scrolling caption window one column left with memmove() without checking that the row's first column is greater than zero. Attackers can supply a crafted media file or stream whose CEA-708 closed caption data scrolls a right-to-left window holding text that starts at column 0, writing before the start of the heap-allocated row and wrapping its uint8_t column indexes, which crashes VLC and corrupts heap memory when the caption track is decoded. |
| VLC media player 3.0.0 before 3.0.22 contains a heap-based buffer overflow vulnerability in CEA708_Window_Scroll() in modules/codec/cea708.c that compares the rightmost used column of a left-to-right scrolling caption window against CEA708_WINDOW_MAX_ROWS - 1 instead of CEA708_WINDOW_MAX_COLS - 1, while CEA708_Window_MaxCol() inspects the wrong row and CEA708_Window_Truncate() never drops the last column of a row holding more than one character, so rows that already reach the last column are shifted further right. Attackers can supply a crafted media file or stream whose CEA-708 closed caption data repeatedly scrolls a full-width left-to-right window, writing past the end of the heap-allocated row's character and style arrays, which crashes VLC and corrupts heap memory when the caption track is decoded. |
| VLC media player 3.0.0 before 3.0.22 contains an out-of-bounds read vulnerability in DecodePacket() in modules/codec/oggspots.c that only checks that the 32-bit image data offset in an OggSpots packet is at least 20 and never compares it with the packet length before subtracting it from the buffer size and advancing the buffer pointer. Attackers can supply a crafted Ogg file or stream containing an OggSpots packet whose offset exceeds the packet length, underflowing the size so that the PNG or JPEG decoder reads beyond the heap buffer and crashes VLC. |
| readsb before 3.16.8 contains an out-of-bounds read vulnerability in apiReadRequest() in api.c that, when searching newly received request data for a newline, passes the total buffered request length to memchr() instead of the length of the new data. Remote unauthenticated attackers who can reach the HTTP API port enabled with --net-api-port can send a request in several chunks without a newline to make readsb read past the end of the heap request buffer, potentially crashing the process. |
| readsb 3.14.1607 before 3.16.8 contains a heap-based buffer overflow vulnerability in readFspec() in net_io.c that copies ASTERIX FSPEC and variable-length item bytes into a fixed-size heap buffer for as long as each byte has its extension (FX) bit set, without a length limit or a check against the end of the received data. Remote unauthenticated attackers who can send data to an ASTERIX input, enabled with --net-asterix-in-port or an asterix_in net-connector, can send a record with a long FX chain to write attacker-controlled bytes past the end of the buffer, crashing readsb or corrupting heap memory. |
| Signal-Android 4.71.0 before 7.56.5 contains an uncontrolled memory allocation vulnerability in its APNG decoder, where APNGDecoder.read() and FrameSeqDecoder.initCanvasBounds() size frame buffers from the IHDR width and height without validating them. Attackers who place a small crafted APNG with very large IHDR dimensions in a user's shared media storage, for example by sending it to a user who saves it or through another messaging app that saves received media to the gallery, can crash Signal with an OutOfMemoryError when the user opens the attachment picker, preventing media attachments until the file is removed. |
| readsb 3.14.1607 before 3.16.8 contains an improper length validation vulnerability in readAsterix() in net_io.c that trusts the length field of each ASTERIX data block without checking that it covers at least the 3-byte block header or that the block fits within the received data. Remote unauthenticated attackers who can send data to an ASTERIX input, enabled with --net-asterix-in-port or an asterix_in net-connector, can send a block with a length of zero to make readsb loop forever on the same input, causing a denial of service, or a length larger than the received data to make it decode bytes past the end of the received data. |
| readsb before 3.16.8 contains a NULL pointer dereference vulnerability in readProxy() in net_io.c that searches a PROXY protocol v1 header for three successive spaces with memchr() without checking whether each search found one. Remote unauthenticated attackers who can connect to a network input of a readsb instance that parses PROXY headers, enabled with --net-ingest or, since 3.14.1646, --devel=readProxy, can send a PROXY line with fewer than three spaces to crash the process. |
| Knot Resolver 6.0.9 before 6.5.1 contains a loop with unreachable exit condition in validate_keyset() in lib/layer/validate.c, where the loop that classifies a failed DNSKEY validation for extended DNS errors iterates over the zone cut's DNSKEY RRset with an 8-bit counter although the record count is 16-bit. Remote attackers who control the authoritative server of a signed delegation and can cause the resolver to look up a name in it can return more than 255 DNSKEY records with a bogus signature, so that the counter wraps and the loop walks past the end of the RRset, crashing or hanging the kresd worker. |
| Knot DNS 3.4.1 before 3.5.9 and 3.6.x before 3.6.1 contain a link following vulnerability in self_key() in src/libknot/quic/tls_common.c that, when QUIC or TLS is enabled without a configured certificate, creates the auto-generated private key file in the KASP database directory with open() without O_NOFOLLOW or O_EXCL and then changes its owner to the configured server user with fchown(). Local attackers who can write to the KASP database directory, such as the knot service account, can place a dangling symbolic link at the key path so that knotd, when started as root before it drops privileges, creates a file at an arbitrary location owned by the knot user, leading to privilege escalation to root. |
| Artalk through 2.10.1 contains an authentication bypass vulnerability that allows remote attackers to take over administrator accounts by social login with unverified emails. Attackers can register a provider account with the administrator's email, sign in via OAuth callback, then call /api/v2/auth/merge to inherit administrator rights. |
| Tianji through 2.1.0 contains an authentication bypass vulnerability in the LemonSqueezy billing webhook that allows unauthenticated attackers to forge events because LEMON_SQUEEZY_SIGNATURE_SECRET defaults to an empty HMAC key. Attackers can sign forged subscription_updated events to change workspace tiers, pausing analytics ingestion, upgrading to paid tiers, or adding AI credits. |
| Gonic through 0.23.0 contains a memory exhaustion vulnerability in the POST /admin/change_avatar_do handler that decodes uploaded avatars without checking declared image dimensions. Authenticated low-privileged users can upload a compressible PNG, GIF, or JPEG declaring huge dimensions to force multi-gigabyte allocations and crash gonic for all users. |
| In the Linux kernel, the following vulnerability has been resolved:
mm/list_lru: don't copy stale shrinker id from non-memcg-aware shrinkers
With cgroup.memory=nokmem, shrinker_memcg_alloc() fails with -ENOSYS for
shrinkers without SHRINKER_NONSLAB, and shrinker_alloc() falls back to a
non-memcg-aware shrinker. On this fallback path, shrinker->id is never
assigned and keeps 0 from kzalloc(), which is a valid id belonging to
whichever memcg-aware shrinker registers first.
__list_lru_init() copies shrinker->id unconditionally, so every list_lru
backed by such a fallback shrinker (thp-deferred_split, zswap-shrinker,
workingset shadow nodes, superblock lrus, ...) ends up with
lru->shrinker_id == 0 instead of -1.
Under nokmem the list_lru collapses to the shared per-node lists, but
__list_lru_add() still calls set_shrinker_bit() against the memcg of
the added object. Most list_lru users are unaffected because their
objects resolve to a NULL memcg without kmem accounting, but the THP
deferred split queue holds user folios, which are charged regardless of
nokmem. On a system where no SHRINKER_NONSLAB shrinker registers,
shrinker_nr_max stays 0 and every memcg's shrinker_info has map_nr_max
== 0, so the first folio added by khugepaged triggers on every boot:
WARNING: mm/shrinker.c:212 at set_shrinker_bit+0x99/0xa0
On systems where a SHRINKER_NONSLAB shrinker (btrfs, xfs) did register and
expand the maps, there is no warning; instead bit 0 is set spuriously for
an unrelated shrinker.
shrinker->id is only meaningful while SHRINKER_MEMCG_AWARE is set, and all
readers inside mm/shrinker.c already check the flag before using the id.
Make __list_lru_init() do the same and fall back to -1, so
set_shrinker_bit() is never reached with a bogus id. The stale
shrinker->id itself is left as is; cleaning that up is a separate topic.
Verified on a machine booting with cgroup.memory=nokmem and
CONFIG_TRANSPARENT_HUGEPAGE=y: the warning fires once per boot from
khugepaged, disappears when nokmem is removed from the command line, and
no longer triggers with this fix applied and nokmem set. |
| In the Linux kernel, the following vulnerability has been resolved:
mm/page_table_check: skip zero pages
page_table_check_set() accounts pages by whether they are PageAnon(). The
shared zero page is a special page, not an ordinary file-backed page.
Read faults on private anonymous mappings can install many read-only PTEs
that point at the zero page, but page_table_check currently accounts them
in file_map_count.
That lets an unprivileged process populate enough zero-page mappings to
overflow file_map_count and trip the BUG_ON() in page_table_check_set().
Skip zero pages in page_table_check accounting. They do not need the
anonymous/file mapping conflict checks that page_table_check performs for
ordinary pages, and this keeps the existing counter size and page_ext
layout unchanged. |
| In the Linux kernel, the following vulnerability has been resolved:
fs/ntfs3: validate the EA value length in ntfs_read_ea()
ntfs_read_ea() checks the $EA list for consistency, but it only
recomputes the packed size of an entry when the entry's own size field is
zero:
for (off = 0; off < size; off += ea_size) {
const struct EA_FULL *ef = Add2Ptr(ea_p, off);
u32 bytes = size - off;
...
if (ef->size) {
ea_size = le32_to_cpu(ef->size);
if (ea_size > bytes)
goto out1;
continue; /* <- elength never checked */
}
...
ea_size = ALIGN(struct_size(ef, name,
1 + ef->name_len +
le16_to_cpu(ef->elength)),
4);
if (ea_size > bytes)
goto out1;
}
ef->size is non-zero for every entry except the last one, and it is what
ntfs3 itself writes (ntfs_set_ea() stores exactly that aligned packed
size), so in practice elength is not validated at all. find_ea() then
uses unpacked_ea_size(), which also prefers ea->size when it is set, so
it agrees and hands the entry back.
ntfs_get_ea() copies elength bytes with no further bound of its own:
len = le16_to_cpu(ea->elength);
...
if (len > size) { /* size is the *caller's* buffer */
err = -ERANGE;
...
}
memcpy(buffer, ea->name + ea->name_len + 1, len);
so a caller that supplies a large enough buffer receives up to 64 KiB of
whatever follows the small $EA allocation -- straight to userspace via
getxattr(2).
Compute the packed size unconditionally and require it to fit in the
entry. Hoist the "bytes < offsetof(struct EA_FULL, name)" test above the
ef->size branch as well: name_len and elength were being read there
without it, which is itself a small over-read of the kmalloc'd buffer
when fewer than 8 bytes are left. The old "bytes < sizeof(ef->size)"
test is subsumed by it.
# mkntfs image; create /mnt/ntfs/poc with user.ntfs6 set, then rewrite
# that EA_FULL's elength from 0xf to 0xff00 on the raw device
mount -t ntfs3 -o ro /dev/vda /mnt/ntfs
getxattr("/mnt/ntfs/poc", "user.ntfs6", buf, 128 * 1024);
BUG: KASAN: slab-out-of-bounds in ntfs_get_ea+0x294/0x3e0
Read of size 65280 at addr ffff0000cca53acf by task xattr_probe/142
__asan_memcpy+0x3c/0xa0
ntfs_get_ea+0x294/0x3e0
ntfs_getxattr+0x284/0x318
__vfs_getxattr+0x104/0x160
vfs_getxattr+0x1b4/0x1e0
do_getxattr+0xcc/0x230
path_getxattrat+0x184/0x270
__arm64_sys_getxattr+0x64/0x80
Allocated by task 142:
__kmalloc_noprof+0x294/0x668
ntfs_read_ea+0x1e4/0x420
ntfs_get_ea+0x2c8/0x3e0
The buggy address belongs to the object at ffff0000cca53a80
which belongs to the cache kmalloc-96 of size 96
The object being over-read is the one ntfs_read_ea() just allocated, and
it is 96 bytes.
Entries written by ntfs3 and by Windows set size to the aligned packed
size, so the new test does not reject anything a working filesystem
produces.
[[email protected]: applied as-is, logic is the same but the code is cleaner] |