Linux 6.18.38
From: Greg Kroah-Hartman
Date: Sat Jul 04 2026 - 08:00:46 EST
I'm announcing the release of the 6.18.38 kernel.
All users of the 6.18 kernel series must upgrade.
The updated 6.18.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.18.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 29 +-
arch/arm64/kvm/mmu.c | 5
arch/loongarch/kernel/smp.c | 1
arch/mips/dec/prom/console.c | 7
arch/mips/kernel/smp.c | 2
arch/riscv/include/asm/cacheflush.h | 25 +
arch/riscv/include/asm/kfence.h | 7
arch/riscv/kernel/entry.S | 6
arch/x86/kvm/hyperv.c | 5
arch/x86/kvm/mmu/mmu.c | 28 +-
arch/x86/kvm/svm/sev.c | 1
block/bdev.c | 5
block/blk-cgroup.c | 21 -
drivers/crypto/nx/nx.c | 6
drivers/crypto/nx/nx.h | 2
drivers/fpga/of-fpga-region.c | 3
drivers/i2c/i2c-core-base.c | 8
drivers/irqchip/irq-imgpdc.c | 6
drivers/net/wan/hdlc_ppp.c | 15 +
drivers/net/wireless/ath/ath11k/dp.c | 1
drivers/net/wireless/intel/iwlwifi/mld/agg.c | 9
drivers/net/wireless/intel/iwlwifi/mld/ptp.c | 2
drivers/net/wireless/intel/iwlwifi/mvm/ptp.c | 2
drivers/net/wireless/mediatek/mt76/mac80211.c | 15 -
drivers/net/wireless/mediatek/mt76/mt76x2/usb.c | 1
drivers/net/wireless/mediatek/mt76/mt7925/main.c | 3
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h | 2
drivers/net/wireless/realtek/rtw88/tx.c | 7
drivers/net/wireless/realtek/rtw88/usb.c | 13 -
drivers/ntb/hw/epf/ntb_hw_epf.c | 3
drivers/pci/controller/dwc/pcie-qcom.c | 17 -
drivers/power/reset/linkstation-poweroff.c | 2
drivers/power/sequencing/core.c | 14 -
drivers/rpmsg/rpmsg_char.c | 15 +
drivers/tty/serial/8250/8250_dw.c | 4
drivers/video/fbdev/core/fbmem.c | 12
drivers/video/fbdev/core/fbsysfs.c | 10
drivers/video/fbdev/core/modedb.c | 5
fs/backing-file.c | 17 +
fs/exfat/dir.c | 4
fs/f2fs/acl.c | 18 +
fs/f2fs/checkpoint.c | 14 +
fs/f2fs/data.c | 16 -
fs/f2fs/extent_cache.c | 19 -
fs/f2fs/file.c | 9
fs/f2fs/inode.c | 9
fs/f2fs/node.c | 2
fs/file_table.c | 27 +-
fs/fuse/passthrough.c | 2
fs/gfs2/super.c | 1
fs/internal.h | 3
fs/lockd/svc4proc.c | 13 -
fs/lockd/svclock.c | 4
fs/lockd/svcproc.c | 15 -
fs/lockd/svcsubs.c | 35 +-
fs/nfs/client.c | 1
fs/nfs/flexfilelayout/flexfilelayout.c | 4
fs/nfs/nfs4proc.c | 5
fs/nfs/pnfs.c | 2
fs/nfs/pnfs_nfs.c | 4
fs/nfsd/nfs2acl.c | 17 -
fs/nfsd/nfs3acl.c | 17 -
fs/nfsd/nfs4proc.c | 2
fs/nfsd/nfs4recover.c | 3
fs/nfsd/nfs4state.c | 1
fs/nfsd/nfs4xdr.c | 3
fs/nfsd/vfs.c | 6
fs/ntfs3/xattr.c | 12
fs/ocfs2/suballoc.c | 22 +
fs/overlayfs/dir.c | 2
fs/overlayfs/file.c | 2
fs/smb/server/smbacl.c | 4
fs/userfaultfd.c | 2
include/keys/request_key_auth-type.h | 2
include/linux/backing-file.h | 4
include/linux/blkdev.h | 16 -
include/linux/err.h | 12
include/linux/f2fs_fs.h | 1
include/linux/fs.h | 13 +
include/linux/kvm_host.h | 7
include/linux/lockd/lockd.h | 2
include/linux/lsm_audit.h | 2
include/linux/lsm_hook_defs.h | 5
include/linux/lsm_hooks.h | 1
include/linux/security.h | 22 +
include/linux/skmsg.h | 15 -
include/net/rtnetlink.h | 2
kernel/bpf/cgroup.c | 2
kernel/fork.c | 1
kernel/sched/core.c | 12
net/9p/client.c | 3
net/batman-adv/bat_iv_ogm.c | 11
net/batman-adv/bat_v.c | 1
net/batman-adv/bat_v_ogm.c | 23 +
net/batman-adv/bridge_loop_avoidance.c | 28 +-
net/batman-adv/distributed-arp-table.c | 12
net/batman-adv/fragmentation.c | 22 +
net/batman-adv/fragmentation.h | 3
net/batman-adv/hard-interface.c | 28 --
net/batman-adv/netlink.c | 8
net/batman-adv/routing.c | 73 +++++
net/batman-adv/tp_meter.c | 113 +++++---
net/batman-adv/translation-table.c | 12
net/batman-adv/tvlv.c | 69 ++++-
net/batman-adv/types.h | 21 +
net/core/filter.c | 27 ++
net/core/rtnetlink.c | 8
net/core/skmsg.c | 2
net/ipv4/ip_gre.c | 6
net/ipv4/ip_output.c | 7
net/ipv4/tcp_ao.c | 4
net/ipv6/ip6_output.c | 9
net/mac802154/llsec.c | 14 +
net/tipc/crypto.c | 9
net/tls/tls_sw.c | 4
net/unix/garbage.c | 2
security/apparmor/include/policy_unpack.h | 19 +
security/apparmor/lsm.c | 16 +
security/apparmor/net.c | 2
security/apparmor/policy.c | 8
security/keys/internal.h | 2
security/keys/keyctl.c | 24 +
security/keys/keyctl_pkey.c | 9
security/keys/request_key_auth.c | 33 ++
security/security.c | 109 ++++++++
security/selinux/hooks.c | 242 +++++++++++++------
security/selinux/include/objsec.h | 11
virt/kvm/eventfd.c | 12
128 files changed, 1359 insertions(+), 402 deletions(-)
Ard Biesheuvel (1):
KVM: arm64: Omit tag sync on stage-2 mappings of the zero page
Arnd Bergmann (1):
err.h: use __always_inline on all error pointer helpers
Ashutosh Desai (1):
KVM: SVM: Fix page overflow in sev_dbg_crypt() for ENCRYPT path
Bitterblue Smith (1):
wifi: rtlwifi: rtl8821ae: Fix C2H bit location in RX descriptor
Bryam Vargas (1):
apparmor: mediate the implicit connect of TCP fast open sendmsg
Dawei Feng (1):
bpf: use kvfree() for replaced sysctl write buffer
Denis Arefev (1):
block: Avoid mounting the bdev pseudo-filesystem in userspace
Dominik Woźniak (1):
nfsd: check get_user() return when reading princhashlen
Doruk Tan Ozturk (2):
mac802154: llsec: add skb_cow_data() before in-place crypto
tipc: fix slab-use-after-free Read in tipc_aead_decrypt_done
ElXreno (1):
wifi: mt76: mt7925: don't disable AP BSS when removing TDLS peer
Fan Wu (1):
hdlc_ppp: sync per-proto timers before freeing hdlc state
Greg Kroah-Hartman (1):
Linux 6.18.38
Guannan Wang (1):
NFSD: Fix SECINFO_NO_NAME decode error cleanup
HanQuan (1):
net/tcp-ao: fix use-after-free of key in del_async path
Hem Parekh (1):
ksmbd: fix out-of-bounds read in smb_check_perm_dacl()
Huacai Chen (1):
LoongArch: Report dying CPU to RCU in stop_this_cpu()
Hyunwoo Kim (1):
KVM: x86: hyper-v: Bound the bank index when querying sparse banks
Ian Bridges (2):
fbdev: fix use-after-free in store_modes()
fbdev: Fix fb_new_modelist to prevent null-ptr-deref in fb_videomode_to_var
Igor Raits (1):
NFSv4: clear exception state on successful mkdir retry
Jarkko Sakkinen (1):
KEYS: fix overflow in keyctl_pkey_params_get_2()
Jeff Layton (4):
nfsd: fix posix_acl leak on SETACL decode failure
nfsd: fix inverted cp_ttl check in async copy reaper
nfsd: avoid leaking pre-allocated openowner on unconfirmed retry race
nfsd: reset write verifier on deferred writeback errors
Jiajia Liu (1):
wifi: mt76: add wcid publish check in mt76_sta_add
Johan Hovold (1):
i2c: core: fix adapter registration race
John Johansen (1):
apparmor: advertise the tcp fast open fix is applied
Jonas Jelonek (1):
MIPS: smp: report dying CPU to RCU in stop_this_cpu()
Jose Ignacio Tornos Martinez (1):
wifi: ath11k: fix warning when unbinding
Junjie Cao (2):
wifi: iwlwifi: mvm: fix race condition in PTP removal
wifi: iwlwifi: mld: fix race condition in PTP removal
Junrui Luo (1):
wifi: iwlwifi: mld: validate sta_mask before ffs() in BA session handlers
Koichiro Den (1):
NTB: epf: Avoid pci_iounmap() with offset when PEER_SPAD and CONFIG share BAR
Konstantin Khorenko (1):
gcov: use atomic counter updates to fix concurrent access crashes
Konstantin Komarov (1):
ntfs3: reject direct userspace writes to reserved $LX* xattrs
Kuniyuki Iwashima (1):
af_unix: Set gc_in_progress to true in unix_gc().
Luka Gejak (2):
wifi: rtw88: increase TX report timeout to fix race condition
wifi: rtw88: usb: fix memory leaks on USB write failures
Maciej W. Rozycki (1):
MIPS: DEC: Prevent initial console buffer from landing in XKPHYS
Maoyi Xie (1):
net: ip_gre: require CAP_NET_ADMIN in the device netns for changelink
Markus Elfring (1):
NFS: Prevent resource leak in nfs_alloc_server()
Michael Bommarito (3):
exfat: fix potential use-after-free in exfat_find_dir_entry()
NFSv4/flexfiles: reject zero filehandle version count
NFSv4/pNFS: reject zero-length r_addr in nfs4_decode_mp_ds_addr
Michal Koutný (1):
blk-cgroup: fix UAF in __blkcg_rstat_flush()
Mike Rapoport (Microsoft) (1):
userfaultfd: ensure mremap_userfaultfd_fail() releases mmap_changing
NeilBrown (1):
lockd: fix TEST handling when not all permissions are available.
Paolo Bonzini (1):
KVM: x86: Fix shadow paging use-after-free due to unexpected role
Paul Moore (2):
lsm: add backing_file LSM hooks
selinux: fix overlayfs mmap() and mprotect() access checks
Qingshuang Fu (1):
irqchip/imgpdc: Fix resource leak, add missing chained handler cleanup on remove
Ruslan Valiyev (1):
apparmor: fix use-after-free in rawdata dedup loop
Sam James (1):
crypto: nx - fix nx_crypto_ctx_exit argument
Sasha Levin (1):
Revert "PCI: qcom: Advertise Hotplug Slot Capability with no Command Completion support"
Sean Christopherson (2):
KVM: x86/mmu: Ensure hugepage is in by slot before checking max mapping level
KVM: Replace guest-triggerable BUG_ON() in ioeventfd datamatch with get_unaligned()
Shaomin Chen (1):
keys: Pin request_key_auth payload in instantiate paths
Steffen Persvold (1):
fbdev: modedb: Fix misaligned fields in the 1920x1080-60 mode
Stepan Ionichev (1):
serial: 8250_dw: unregister 8250 port if clk_notifier_register() fails
Sunmin Jeong (1):
f2fs: fix to round down start offset of fallocate for pin file
Sven Eckelmann (26):
batman-adv: tp_meter: keep unacked list in ascending ordered
batman-adv: tp_meter: initialize dup_acks explicitly
batman-adv: tp_meter: initialize dec_cwnd explicitly
batman-adv: tp_meter: avoid window underflow
batman-adv: tp_meter: avoid divide-by-zero for dec_cwnd
batman-adv: tp_meter: fix fast recovery precondition
batman-adv: tp_meter: handle seqno wrap-around for fast recovery detection
batman-adv: tp_meter: add only finished tp_vars to lists
batman-adv: bla: annotate lasttime access with READ/WRITE_ONCE
batman-adv: prevent ELP transmission interval underflow
batman-adv: tp_meter: initialize last_recv_time during init
batman-adv: gw: don't deselect gateway with active hardif
batman-adv: ensure bcast is writable before modifying TTL
batman-adv: fix (m|b)cast csum after decrementing TTL
batman-adv: frag: ensure fragment is writable before modifying TTL
batman-adv: frag: avoid underflow of TTL
batman-adv: v: prevent OGM aggregation on disabled hardif
batman-adv: tp_meter: restrict number of unacked list entries
batman-adv: tp_meter: annotate last_recv_time access with READ/WRITE_ONCE
batman-adv: tp_meter: prevent parallel modifications of last_recv
batman-adv: tp_meter: handle overlapping packets
batman-adv: tt: don't merge change entries with different VIDs
batman-adv: tt: track roam count per VID
batman-adv: dat: prevent false sharing between VLANs
batman-adv: tvlv: enforce 2-byte alignment
batman-adv: tvlv: avoid race of cifsnotfound handler state
Tristan Madani (1):
gfs2: fix use-after-free in gfs2_qd_dealloc
Tuo Li (1):
fbdev: modedb: fix a possible UAF in fb_find_mode()
Usama Arif (2):
kernel/fork: clear PF_BLOCK_TS in copy_process()
block: invalidate cached plug timestamp after task switch
Vivian Wang (2):
riscv: mm: Extract helper mark_new_valid_map()
riscv: kfence: Call mark_new_valid_map() for kfence_unprotect()
Wenjie Qi (4):
f2fs: pass correct iostat type for single node writes
f2fs: validate orphan inode entry count
f2fs: validate compress cache inode only when enabled
f2fs: keep atomic write retry from zeroing original data
Wentao Liang (4):
pwrseq: core: fix use-after-free in pwrseq_debugfs_seq_next()
pNFS: Fix use-after-free in pnfs_update_layout()
fpga: region: fix use-after-free in child_regions_with_firmware()
power: reset: linkstation-poweroff: fix use-after-free in the linkstation_poweroff_init()
Wongi Lee (2):
ipv6: account for fraggap on the paged allocation path
ipv4: account for fraggap on the paged allocation path
Yiming Qian (1):
net: skmsg: preserve sg.copy across SG transforms
Yizhou Zhao (1):
9p: avoid putting oldfid in p9_client_walk() error path
Yongpeng Yang (1):
f2fs: fix incorrect FI_NO_EXTENT handling in __destroy_extent_node()
Yuho Choi (1):
rpmsg: char: Fix use-after-free on probe error path
Zenm Chen (1):
wifi: mt76: mt76x2u: Add support for ELECOM WDC-867SU3S
Zhang Cen (2):
f2fs: validate ACL entry sizes in f2fs_acl_from_disk()
ocfs2: reject oversized group bitmap descriptors