<?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-10-01T21:41:17.630378+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-2025-39828</id>
    <title>CVE-2025-39828 — atm: atmtcp: Prevent arbitrary write in atmtcp_recv_control().</title>
    <updated>2026-10-01T21:41:17.632839+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux, Siemens SIMATIC CN 4100</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>atm: atmtcp: Prevent arbitrary write in atmtcp_recv_control().</p>
<p>syzbot reported the splat below. [0]</p>
<p>When atmtcp_v_open() or atmtcp_v_close() is called via connect()
or close(), atmtcp_send_control() is called to send an in-kernel
special message.</p>
<p>The message has ATMTCP_HDR_MAGIC in atmtcp_control.hdr.length.
Also, a pointer of struct atm_vcc is set to atmtcp_control.vcc.</p>
<p>The notable thing is struct atmtcp_control is uAPI but has a
space for an in-kernel pointer.</p>
<p>struct atmtcp_control {
  	struct atmtcp_hdr hdr;	/* must be first */
  ...
  	atm_kptr_t vcc;		/* both directions */
  ...
  } __ATM_API_ALIGN;</p>
<p>typedef struct { unsigned char _[8]; } __ATM_API_ALIGN atm_kptr_t;</p>
<p>The special message is processed in atmtcp_recv_control() called
from atmtcp_c_send().</p>
<p>atmtcp_c_send() is vcc-&gt;dev-&gt;ops-&gt;send() and called from 2 paths:</p>
<p>1. .ndo_start_xmit() (vcc-&gt;send() == atm_send_aal0())
  2. vcc_sendmsg()</p>
<p>The problem is sendmsg() does not validate the message length and
userspace can abuse atmtcp_recv_control() to overwrite any kptr
by atmtcp_control.</p>
<p>Let's add a new -&gt;pre_send() hook to validate messages from sendmsg().</p>
<p>[0]:
Oops: general protection fault, probably for non-canonical address 0xdffffc00200000ab: 0000 [#1] SMP KASAN PTI
KASAN: probably user-memory-access in range [0x0000000100000558-0x000000010000055f]
CPU: 0 UID: 0 PID: 5865 Comm: syz-executor331 Not tainted 6.17.0-rc1-syzkaller-00215-gb…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2025-39828"/>
  </entry>
</feed>
