Skip to content
forked from torvalds/linux

My staging ground for Linux kernel contributions. Contains patches and reproducers for upstream bug fixes, focused on USB/CAN subsystems and memory safety issues found by Syzbot.

License

Notifications You must be signed in to change notification settings

szymonwilczek/linux

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kernel Contributions
====================

My staging ground for Linux kernel contributions. Contains patches and reproducers 
for upstream bug fixes, focused on USB/CAN subsystems and memory safety issues 
found by Syzbot.

This repository tracks my contributions to the Linux Kernel mainline. It contains 
development branches for bug fixes (memory leaks, concurrency issues) identified 
via Syzbot/KASAN, along with verification logic and reproductions.

Patches
--------------------------
*  dma-buf: fix WARNING in dma_buf_vmap
Link: https://lore.kernel.org/all/20251221153250.17591-1-swilczek.lx@gmail.com/T/
Description: Fixed incorrect WARN_ON usage when vmap fails legitimately.

*  wifi: libertas: fix WARNING in usb_tx_block
Link: https://lore.kernel.org/all/20251221155806.23925-1-swilczek.lx@gmail.com/T/
Description: Fixed race condition where URB was submitted while active.

*  can: etas_es58x: allow partial RX URB allocation to succeed
Link: https://lore.kernel.org/all/20251222154208.22117-1-swilczek.lx@gmail.com/T/
Description: Improved driver resilience by handling partial allocation instead of leaking memory.

*  media: pvrusb2: fix URB leak in pvr2_send_request_ex
Link: https://lore.kernel.org/all/20251220182419.390675-1-szymonwilczek@gmx.com/T/
Description: Fixed URB leak on read failure by unlinking write URB.

*  media: dtv5100: fix BOGUS control dir warning on 0-length reads
Link: https://lore.kernel.org/all/20251221171542.47748-1-swilczek.lx@gmail.com/T/
Description: Fixed protocol violation warning by using correct pipe direction for 0-length reads.

*  fs/ntfs3: fix deadlock in ni_readpage_cmpr
Link: https://lore.kernel.org/all/20251222151010.17263-1-swilczek.lx@gmail.com/T/
Description: Resolved page lock vs inode ni_lock inversion deadlock.

*  KASAN: use-after-free Read in f2fs_write_end_io
Link: https://lore.kernel.org/all/20251223162823.23606-1-swilczek.lx@gmail.com/T/
Description: Resolved race condition between the shutdown of the filesystem and I/O completion handler.

*  jfs: add missing tlckBTROOT to txLock calls on inline btree roots
Link: https://lore.kernel.org/all/20251224233133.41078-1-swilczek.lx@gmail.com/T/
Description: Fixed kernel BUG in txUnlock() by correctly marking inline btree roots with tlckBTROOT flag during transaction locking.

*   Bluetooth: vhci: Fix slab-use-after-free by cloning skb
Link: https://lore.kernel.org/all/20251224235407.46333-1-swilczek.lx@gmail.com/T/
Description: Fixed UAF by cloning skb in vhci_send_frame() to isolate vhci driver from hci_core, preventing concurrent access/freeing.

*   jfs: fix array-index-out-of-bounds in dtSplitPage
Link: https://lore.kernel.org/all/20251225182852.508200-1-swilczek.lx@gmail.com/T/
Description: Fixed OOB access by resizing struct linelock's lv array to match runtime allocation size (TLOCKLONG).

*   ntfs3: fix circular locking dependency in run_unpack_ex
Link: https://lore.kernel.org/all/20251227144307.8966-1-swilczek.lx@gmail.com/T/
Description: Fixed AB-BA deadlock between wnd->rw_lock and ni->file.run_lock by using down_read_trylock() instead of down_read().

*   ocfs2: fix circular locking dependency in ocfs2_acquire_dquot
Link: https://lore.kernel.org/all/20251227174251.121668-1-swilczek.lx@gmail.com/T/
Description: Fixed circular dependency between sb_internal and quota locks by reordering quota file extension before acquiring global quota lock.

---
Verified with checkpatch.pl and local reproduction/compilation.

That's just my diary, for tracking patches. Feel free to read it.

About

My staging ground for Linux kernel contributions. Contains patches and reproducers for upstream bug fixes, focused on USB/CAN subsystems and memory safety issues found by Syzbot.

Resources

License

Stars

Watchers

Forks

Languages

  • C 98.0%
  • Assembly 0.7%
  • Shell 0.4%
  • Rust 0.3%
  • Python 0.3%
  • Makefile 0.2%
  • Other 0.1%