<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-30T07:37:49.988381+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2023-53752</id>
    <title>CVE-2023-53752 — net: deal with integer overflows in kmalloc_reserve()</title>
    <updated>2026-09-30T07:37:49.989367+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>net: deal with integer overflows in kmalloc_reserve()</p>
<p>Blamed commit changed:
    ptr = kmalloc(size);
    if (ptr)
      size = ksize(ptr);</p>
<p>size = kmalloc_size_roundup(size);
    ptr = kmalloc(size);</p>
<p>This allowed various crash as reported by syzbot [1]
and Kyle Zeng.</p>
<p>Problem is that if @size is bigger than 0x80000001,
kmalloc_size_roundup(size) returns 2^32.</p>
<p>kmalloc_reserve() uses a 32bit variable (obj_size),
so 2^32 is truncated to 0.</p>
<p>kmalloc(0) returns ZERO_SIZE_PTR which is not handled by
skb allocations.</p>
<p>Following trace can be triggered if a netdev-&gt;mtu is set
close to 0x7fffffff</p>
<p>We might in the future limit netdev-&gt;mtu to more sensible
limit (like KMALLOC_MAX_SIZE).</p>
<p>This patch is based on a syzbot report, and also a report
and tentative fix from Kyle Zeng.</p>
<p>[1]
BUG: KASAN: user-memory-access in __build_skb_around net/core/skbuff.c:294 [inline]
BUG: KASAN: user-memory-access in __alloc_skb+0x3c4/0x6e8 net/core/skbuff.c:527
Write of size 32 at addr 00000000fffffd10 by task syz-executor.4/22554</p>
<p>CPU: 1 PID: 22554 Comm: syz-executor.4 Not tainted 6.1.39-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023
Call trace:
dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:279
show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:286
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x120/0x1a0 lib/dump_stack.c:106
print_report+0xe4/0x4b4…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2023-53752"/>
  </entry>
</feed>
