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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: 
 <176106660601.1163561.6885193392074712225.git-patchwork-notify@kernel.org>
Date: Tue, 21 Oct 2025 17:10:06 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Noorain Eqbal <nooraineqbal@...il.com>
Cc: andrii.nakryiko@...il.com, alexei.starovoitov@...il.com,
 andrii@...nel.org, ast@...nel.org, bpf@...r.kernel.org, daniel@...earbox.net,
 david.hunter@...uxfoundation.org, eddyz87@...il.com, haoluo@...gle.com,
 john.fastabend@...il.com, jolsa@...nel.org, kpsingh@...nel.org,
 linux-kernel-mentees@...ts.linux.dev, linux-kernel@...r.kernel.org,
 martin.lau@...ux.dev, sdf@...ichev.me, skhan@...uxfoundation.org,
 song@...nel.org, syzbot+2617fc732430968b45d2@...kaller.appspotmail.com,
 yonghong.song@...ux.dev
Subject: Re: [PATCH v2] bpf: sync pending IRQ work before freeing ring buffer

Hello:

This patch was applied to bpf/bpf.git (master)
by Alexei Starovoitov <ast@...nel.org>:

On Mon, 20 Oct 2025 23:33:01 +0530 you wrote:
> Fix a race where irq_work can be queued in bpf_ringbuf_commit()
> but the ring buffer is freed before the work executes.
> In the syzbot reproducer, a BPF program attached to sched_switch
> triggers bpf_ringbuf_commit(), queuing an irq_work. If the ring buffer
> is freed before this work executes, the irq_work thread may accesses
> freed memory.
> Calling `irq_work_sync(&rb->work)` ensures that all pending irq_work
> complete before freeing the buffer
> 
> [...]

Here is the summary with links:
  - [v2] bpf: sync pending IRQ work before freeing ring buffer
    https://git.kernel.org/bpf/bpf/c/4e9077638301

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ