netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Minseong Kim <ii4gsp@gmail.com>
To: "David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>
Cc: Simon Horman <horms@kernel.org>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	Minseong Kim <ii4gsp@gmail.com>
Subject: [PATCH net v3 0/1] atm: mpoa: Fix UAF on qos_head list in procfs
Date: Thu,  4 Dec 2025 15:24:20 +0900	[thread overview]
Message-ID: <20251204062421.96986-1-ii4gsp@gmail.com> (raw)

Changes since v2:
  - Replace atm_mpoa_search_qos() with atm_mpoa_get_qos() to avoid
    returning an unprotected pointer.
  - Add atm_mpoa_delete_qos_by_ip() so search+unlink+free is atomic
    under qos_mutex, preventing double-free/UAF.
  - Update all callers accordingly.

Minseong Kim (1):
  atm: mpoa: Fix UAF on qos_head list in procfs

 net/atm/mpc.c         | 184 ++++++++++++++++++++++++++++++++----------
 net/atm/mpc.h         |   3 +-
 net/atm/mpoa_caches.c |  17 ++--
 net/atm/mpoa_proc.c   |   2 +-
 4 files changed, 149 insertions(+), 57 deletions(-)

-- 
2.39.5 (Apple Git-154)


             reply	other threads:[~2025-12-04  6:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-04  6:24 Minseong Kim [this message]
2025-12-04  6:24 ` [PATCH net v3 1/1] atm: mpoa: Fix UAF on qos_head list in procfs Minseong Kim
2025-12-11  9:50   ` Jakub Kicinski
2025-12-16 12:09   ` [PATCH net v4] " Minseong Kim
2025-12-16 16:59     ` Simon Horman
2025-12-04 13:27 ` [PATCH net v3 0/1] " Simon Horman
2025-12-04 13:35   ` Minseong Kim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251204062421.96986-1-ii4gsp@gmail.com \
    --to=ii4gsp@gmail.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).