Re: [PATCH v6.1 1/1] net: sched: use RCU read-side critical section in taprio_dump()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Lee,

On 11/11/24 21:47, Lee Jones wrote:
From: Dmitry Antipov <dmantipov@xxxxxxxxx>

[ Upstream commit b22db8b8befe90b61c98626ca1a2fbb0505e9fe3 ]

Fix possible use-after-free in 'taprio_dump()' by adding RCU
read-side critical section there. Never seen on x86 but
found on a KASAN-enabled arm64 system when investigating
https://syzkaller.appspot.com/bug?extid=b65e0af58423fc8a73aa:

<snip>

Fixes: 18cdd2f0998a ("net/sched: taprio: taprio_dump and taprio_change are protected by rtnl_mutex")
Acked-by: Vinicius Costa Gomes <vinicius.gomes@xxxxxxxxx>
Signed-off-by: Dmitry Antipov <dmantipov@xxxxxxxxx>
Link: https://patch.msgid.link/20241018051339.418890-2-dmantipov@xxxxxxxxx
Signed-off-by: Paolo Abeni <pabeni@xxxxxxxxxx>
Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>
(cherry picked from commit 5d282467245f267c0b9ada3f7f309ff838521536)
[Lee: Backported from linux-6.6.y to linux-6.1.y and fixed conflicts]

Conflict resolution for the backport to 6.1.y looks good to me.

[ I am not a net/ developer, but reviewed it from a backporting point of view]


Thanks,
Harshit




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux