lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250701232915.377351-1-xiyou.wangcong@gmail.com>
Date: Tue,  1 Jul 2025 16:29:13 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: netdev@...r.kernel.org
Cc: jhs@...atatu.com,
	jiri@...nulli.us,
	mincho@...ori.io,
	victor@...atatu.com,
	Cong Wang <xiyou.wangcong@...il.com>
Subject: [RFC Patch net-next 0/2] net_sched: Move GSO segmentation to root qdisc

This patchset attempts to move the GSO segmentation in Qdisc layer from
child qdisc up to root qdisc. It fixes the complex handling of GSO
segmentation logic and unifies the code in a generic way. The end result
is cleaner (see the patch stat) and hopefully keeps the original logic
of handling GSO.

This is an architectural change, hence I am sending it as an RFC. Please
check each patch description for more details. Also note that although
this patchset alone could fix the UAF reported by Mingi, the original
UAF can also be fixed by Lion's patch [1], so this patchset is just an
improvement for handling GSO segmentation.

TODO: Add some selftests.

1. https://lore.kernel.org/netdev/d912cbd7-193b-4269-9857-525bee8bbb6a@gmail.com/

---
Cong Wang (2):
  net_sched: Move GSO segmentation to root qdisc
  net_sched: Propagate per-qdisc max_segment_size for GSO segmentation

 include/net/sch_generic.h |  4 +-
 net/core/dev.c            | 52 +++++++++++++++++++---
 net/sched/sch_api.c       | 14 ++++++
 net/sched/sch_cake.c      | 93 +++++++++++++--------------------------
 net/sched/sch_netem.c     | 32 +-------------
 net/sched/sch_taprio.c    | 76 +++++++-------------------------
 net/sched/sch_tbf.c       | 59 +++++--------------------
 7 files changed, 123 insertions(+), 207 deletions(-)

-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ