<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/include/linux, branch master</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm</title>
<updated>2026-11-24T00:46:40+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-24T00:46:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=42e225323067a222230068651cf886bd7fbb1fe2'/>
<id>42e225323067a222230068651cf886bd7fbb1fe2</id>
<content type='text'>
Pull kvm fixes from Paolo Bonzini:
 "A large set of fixes, mostly for Arm but almost all architectures
  are represented.

  arm64 MMU fixes:

   - Correctly sanitise the TCR_EL2 register

   - Stop advertising LPA2 to NV guest when it isn't supported

   - Correctly convert EH2==0's view of TCR_EL2 into the E2H==1 format

   - Make sure an EL2 mapping is immediately visible to the hypervisor
     code, as we don't necessarily require ETS

   - Address a horrible situation where a guest can livelock when trying
     to solve a permission fault whilst the underlying S2 PTs have AF=0

   - Correctly wipe MTE tags for large mappings instead of just the head
     page, providing a convenient helper for this

   - Fix dirty logging detection in ring-only mode

   - Use ATS1A whenever FEAT_S1PIE is present

   - Fix arbitrary truncation to 32bit when dealing with pool size

   - Correctly order page pin refconting

   - Prevent a HYP block mapping from being replaced with a table

   - Fix NV Range invalidation by extending the boundaries to the next
     block mapping

   - Make sure the correct hw_mmu gets picked on the first run, should
     userspace restore a nested context between init and the first
     vcpu_load()

   - Reject TLBI IPAS2E1 that fall outside of the S2 range

  arm64 system register fixes:

   - Correctly forward POE/PIE/TVAL EL2 register traps

   - Add a sanity check for missing trap forwarding

   - Correctly hide generic PAuth for pKVM protected guests when the
     feature PAuth has been exluced from the feature set

   - Make sure that HCR_EL2.NV1 is always RES0

  arm64 VGIC fixes:

   - Fix a bunch of low-impact issues with GICv4, avoiding leaks on
     unlikely failure paths

   - Use a separate lockdep class for vPE doorbells, and guarantee that
     they are never threaded

   - Avoid spurious allocation of VPEs when userspace decided not to
     expose nASSGIcap

   - Fix spurious preservation of the pending state after DISCARD and
     CLEAR ITS commands

   - Make sure GITS_CTLR.Enabled is updated under the its_lock

   - Serialise vgic CTRL_INIT against vCPU creation

   - Make the forwarding of LPIs tobust against LPIs being disabled on
     the target redistributor

  arm64 pKVM fixes:

   - Fix the reset of GICv3 LRs for pKVM, de-uglifying the PM paths
     whilst at it

   - Fix PMU handling for both protected and non-protected guests,
     fixing the synchronisation of kvm_host_data in the process

   - Correctly invalidate TLBs and I-cache when multiplexing multiple
     vcpus of the same VM on a single physical CPU

  arm64 feature visibility fixes:

   - Correctly handle ACCDATA_EL1 being exposed to guests, plugging a
     potential communication channel between guests

  Other arm64 fixes:

   - Flag Apple M3, M4 and M6 CPUs as having a broken vgic and a wonky
     PMUv3 emulation

   - Correctly handle 64bit offsets into an MMIO region from userspace

   - Ensure that a vcpu is loaded when injecting an event

   - Correctly clear the vcpu feature set on init failure

   - Clear PSTATE.TCO on exit from the guest when MTE is enabled for the
     kernel

   - Let the L0 hypervisor always deal with FEAT_MOPS A/B nonsense when
     taking such exception, instead of potentially forwarding it

   - Add a "maintainer profile" for KVM/arm64

   - Add testing for the MOVI and MOVALL commands

  PPC:

   - Implement kvm_arch_flush_shadow_{all,memslot}() for PPC. They're
     not meant to be optional!

  RISC-V:

   - Validate AIA MMIO address ranges before AIA is initialized

   - Disallow GPA-width changes after AIA is initialized

   - Fix double free of the split page cache

   - Do not touch the envcfg CSRs on the SiFive P550, as it is based on
     the 1.11 privileged architecture spec

   - Set Accessed bit in dirty-log write fault fast-path

   - Validate PMU counter info using available counters

   - Fix G-stage page table memory leak on VM destroy

  s390:

   - Additional memory management related fixes

   - Improve robustness of the Arm code extraction script

   - Fixes for the Arm layer

   - Fix ESSA instruction handling in migration mode

   - Fix crypto instruction no-hook handling

   - Fix selftest for uvdevice

  x86:

   - Do not confuse the GPA of a guest paging structure with the GPA of
     the access, if a nested page fault occurs while the CPU is walking
     the guests's page tables

   - Do not attempt emulation if a nested page fault occurs on encrypted
     guest paging structures

   - Mitigate a class of (x86) bugs where KVM can read/write guest
     (userspace) memory using the wrong mm, i.e. using the wrong user
     page tables

   - Don't force a full nested VMX VM-Exit when destroying a vCPU, as
     processing the MSR load/store lists and writing back the shadow
     vmcs12 is wildly wrong when VM is dying

   - Clear only the VMCB save area on an intercepted SHUTDOWN on SVM,
     partly to avoid unnecessary churn, but mostly to prevent KVM from
     clobbering the PML index

   - Update the tracked pCPU on task migration for both vmcb01 and
     vmcb02 to fix an edge case where KVM can use a stale ASID across
     pCPUs

   - Clear nVMX's smm.guest_mode when freeing nested state, and if a RSM
     to L2 ultimately fails (and queues a TRIPLE_FAULT to L1)

  Generic:

   - Rework the single-vCPU kick logic to fix a bug where KVM would fail
     to wait for a target vCPU to respond if another, non-waiting kick
     is in flight

  Selftests:

   - Provide empty installation rules for architectures that aren't
     supported by KVM selftests to fix build issues in CI environments

   - Fix KVM selftests' rules for generating arm64's sysreg headers so
     that the headers are properly (re)generated on incremental builds"

* tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (104 commits)
  KVM: x86: Don't save the GPA of a fault on the guest's page tables
  KVM: SEV: never emulate after #NPF on paging structures
  KVM: PPC: implement .flush_memslot for BookE and Book3S-PR
  KVM: PPC: remove unnecessary #ifdef
  KVM: arm64: nv: Ignore TLBI IPAS2E1 above the IPA limit
  KVM: arm64: nv: Fix NULL dereference in kvm_pmu_nested_transition()
  KVM: arm64: Load the vcpu in KVM_SET_VCPU_EVENTS
  KVM: arm64: selftests: Verify HCR_EL2.NV1 is RES0 when E2H0 is NI_NV1
  KVM: arm64: Force HCR_EL2.NV1 to RES0 unconditionally
  KVM: arm64: Hide generic ptrauth from protected VMs without ptrauth
  KVM: arm64: nv: Report EL2 registers with no trap forwarding
  KVM: arm64: nv: Forward CNTP_TVAL_EL02 and CNTV_TVAL_EL02 traps
  KVM: arm64: nv: Forward PIR_EL2, PIRE0_EL2 and POR_EL2 traps
  RISC-V: KVM: Fix G-stage page table memory leak on VM destroy
  RISC-V: KVM: Validate PMU counter info using available counters
  KVM: riscv: Set Accessed bit in dirty-log write fault fast path
  RISC-V: KVM: Do not touch the envcfg CSRs on the SiFive P550
  RISC-V: KVM: Fix double free of the split page cache
  RISC-V: KVM: Disallow GPA-width changes after AIA init
  RISC-V: KVM: Validate AIA MMIO address ranges
  ...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pull kvm fixes from Paolo Bonzini:
 "A large set of fixes, mostly for Arm but almost all architectures
  are represented.

  arm64 MMU fixes:

   - Correctly sanitise the TCR_EL2 register

   - Stop advertising LPA2 to NV guest when it isn't supported

   - Correctly convert EH2==0's view of TCR_EL2 into the E2H==1 format

   - Make sure an EL2 mapping is immediately visible to the hypervisor
     code, as we don't necessarily require ETS

   - Address a horrible situation where a guest can livelock when trying
     to solve a permission fault whilst the underlying S2 PTs have AF=0

   - Correctly wipe MTE tags for large mappings instead of just the head
     page, providing a convenient helper for this

   - Fix dirty logging detection in ring-only mode

   - Use ATS1A whenever FEAT_S1PIE is present

   - Fix arbitrary truncation to 32bit when dealing with pool size

   - Correctly order page pin refconting

   - Prevent a HYP block mapping from being replaced with a table

   - Fix NV Range invalidation by extending the boundaries to the next
     block mapping

   - Make sure the correct hw_mmu gets picked on the first run, should
     userspace restore a nested context between init and the first
     vcpu_load()

   - Reject TLBI IPAS2E1 that fall outside of the S2 range

  arm64 system register fixes:

   - Correctly forward POE/PIE/TVAL EL2 register traps

   - Add a sanity check for missing trap forwarding

   - Correctly hide generic PAuth for pKVM protected guests when the
     feature PAuth has been exluced from the feature set

   - Make sure that HCR_EL2.NV1 is always RES0

  arm64 VGIC fixes:

   - Fix a bunch of low-impact issues with GICv4, avoiding leaks on
     unlikely failure paths

   - Use a separate lockdep class for vPE doorbells, and guarantee that
     they are never threaded

   - Avoid spurious allocation of VPEs when userspace decided not to
     expose nASSGIcap

   - Fix spurious preservation of the pending state after DISCARD and
     CLEAR ITS commands

   - Make sure GITS_CTLR.Enabled is updated under the its_lock

   - Serialise vgic CTRL_INIT against vCPU creation

   - Make the forwarding of LPIs tobust against LPIs being disabled on
     the target redistributor

  arm64 pKVM fixes:

   - Fix the reset of GICv3 LRs for pKVM, de-uglifying the PM paths
     whilst at it

   - Fix PMU handling for both protected and non-protected guests,
     fixing the synchronisation of kvm_host_data in the process

   - Correctly invalidate TLBs and I-cache when multiplexing multiple
     vcpus of the same VM on a single physical CPU

  arm64 feature visibility fixes:

   - Correctly handle ACCDATA_EL1 being exposed to guests, plugging a
     potential communication channel between guests

  Other arm64 fixes:

   - Flag Apple M3, M4 and M6 CPUs as having a broken vgic and a wonky
     PMUv3 emulation

   - Correctly handle 64bit offsets into an MMIO region from userspace

   - Ensure that a vcpu is loaded when injecting an event

   - Correctly clear the vcpu feature set on init failure

   - Clear PSTATE.TCO on exit from the guest when MTE is enabled for the
     kernel

   - Let the L0 hypervisor always deal with FEAT_MOPS A/B nonsense when
     taking such exception, instead of potentially forwarding it

   - Add a "maintainer profile" for KVM/arm64

   - Add testing for the MOVI and MOVALL commands

  PPC:

   - Implement kvm_arch_flush_shadow_{all,memslot}() for PPC. They're
     not meant to be optional!

  RISC-V:

   - Validate AIA MMIO address ranges before AIA is initialized

   - Disallow GPA-width changes after AIA is initialized

   - Fix double free of the split page cache

   - Do not touch the envcfg CSRs on the SiFive P550, as it is based on
     the 1.11 privileged architecture spec

   - Set Accessed bit in dirty-log write fault fast-path

   - Validate PMU counter info using available counters

   - Fix G-stage page table memory leak on VM destroy

  s390:

   - Additional memory management related fixes

   - Improve robustness of the Arm code extraction script

   - Fixes for the Arm layer

   - Fix ESSA instruction handling in migration mode

   - Fix crypto instruction no-hook handling

   - Fix selftest for uvdevice

  x86:

   - Do not confuse the GPA of a guest paging structure with the GPA of
     the access, if a nested page fault occurs while the CPU is walking
     the guests's page tables

   - Do not attempt emulation if a nested page fault occurs on encrypted
     guest paging structures

   - Mitigate a class of (x86) bugs where KVM can read/write guest
     (userspace) memory using the wrong mm, i.e. using the wrong user
     page tables

   - Don't force a full nested VMX VM-Exit when destroying a vCPU, as
     processing the MSR load/store lists and writing back the shadow
     vmcs12 is wildly wrong when VM is dying

   - Clear only the VMCB save area on an intercepted SHUTDOWN on SVM,
     partly to avoid unnecessary churn, but mostly to prevent KVM from
     clobbering the PML index

   - Update the tracked pCPU on task migration for both vmcb01 and
     vmcb02 to fix an edge case where KVM can use a stale ASID across
     pCPUs

   - Clear nVMX's smm.guest_mode when freeing nested state, and if a RSM
     to L2 ultimately fails (and queues a TRIPLE_FAULT to L1)

  Generic:

   - Rework the single-vCPU kick logic to fix a bug where KVM would fail
     to wait for a target vCPU to respond if another, non-waiting kick
     is in flight

  Selftests:

   - Provide empty installation rules for architectures that aren't
     supported by KVM selftests to fix build issues in CI environments

   - Fix KVM selftests' rules for generating arm64's sysreg headers so
     that the headers are properly (re)generated on incremental builds"

* tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (104 commits)
  KVM: x86: Don't save the GPA of a fault on the guest's page tables
  KVM: SEV: never emulate after #NPF on paging structures
  KVM: PPC: implement .flush_memslot for BookE and Book3S-PR
  KVM: PPC: remove unnecessary #ifdef
  KVM: arm64: nv: Ignore TLBI IPAS2E1 above the IPA limit
  KVM: arm64: nv: Fix NULL dereference in kvm_pmu_nested_transition()
  KVM: arm64: Load the vcpu in KVM_SET_VCPU_EVENTS
  KVM: arm64: selftests: Verify HCR_EL2.NV1 is RES0 when E2H0 is NI_NV1
  KVM: arm64: Force HCR_EL2.NV1 to RES0 unconditionally
  KVM: arm64: Hide generic ptrauth from protected VMs without ptrauth
  KVM: arm64: nv: Report EL2 registers with no trap forwarding
  KVM: arm64: nv: Forward CNTP_TVAL_EL02 and CNTV_TVAL_EL02 traps
  KVM: arm64: nv: Forward PIR_EL2, PIRE0_EL2 and POR_EL2 traps
  RISC-V: KVM: Fix G-stage page table memory leak on VM destroy
  RISC-V: KVM: Validate PMU counter info using available counters
  KVM: riscv: Set Accessed bit in dirty-log write fault fast path
  RISC-V: KVM: Do not touch the envcfg CSRs on the SiFive P550
  RISC-V: KVM: Fix double free of the split page cache
  RISC-V: KVM: Disallow GPA-width changes after AIA init
  RISC-V: KVM: Validate AIA MMIO address ranges
  ...
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'input-for-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input</title>
<updated>2026-11-22T16:36:40+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-22T16:36:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=abbf2945b788939e4df50d6f0c750409c1959960'/>
<id>abbf2945b788939e4df50d6f0c750409c1959960</id>
<content type='text'>
Pull input fixes from Dmitry Torokhov:

 - A fix in input core to tear down force-feedback devices synchronously
   on unregistration, preventing use-after-free and faults in unloaded
   modules if userspace holds an event node open across driver unbind

 - A fix for the da7280 haptic driver to stop advertising FF_GAIN
   capability without implementing gain control, preventing a NULL
   pointer dereference when userspace writes a gain event

 - A fix for the goodix touchscreen driver hardening backup reference
   length validation against malformed device configurations to prevent
   invalid memory writes during probe and suspend

 - A fix for the max77693-haptic driver to disable the chip bias if
   enabling the motor regulator fails when opening the device

 - A fix for the cyapa touchpad driver to release its runtime PM
   reference on interrupted lock acquisition so autosuspend keeps
   working

 - A fix for the Atari mouse driver and m68k IKBD glue to treat mouse
   movement deltas as signed bytes, restoring proper cursor movement
   with unsigned-char kernel builds

 - An update to the trackpoint driver adding a new JYT_NDT variant ID
   found on Lenovo ThinkPad X14 Gen 1 laptops so the device is not
   misdetected as a generic PS/2 mouse

 - Updates to the xpad driver adding support for Hori Real Arcade Pro 4,
   Hori Taiko Controller DX, Hyperkin Xenon, 8BitDo M30, and GameSir G7
   Pro controllers

* tag 'input-for-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
  Input: destroy force-feedback device on input unregistration
  Input: max77693-haptic - disable bias on failed open
  Input: trackpoint - add new TP JYT_NDT device variant id 7
  m68k: Fix atari mouse movement
  Input: xpad.c - add support for Hyperkin Xenon, Hori Taiko Controller DX, and 8BitDo M30
  Input: xpad - add support to Hori Real Arcade Pro 4
  Input: da7280 - do not advertise FF_GAIN
  Input: cyapa - fix runtime PM leak in cyapa_update_rt_suspend_scanrate()
  Input: goodix - reject a bak_ref length that cannot hold the checksum
  Input: xpad - add GameSir G7 Pro support
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pull input fixes from Dmitry Torokhov:

 - A fix in input core to tear down force-feedback devices synchronously
   on unregistration, preventing use-after-free and faults in unloaded
   modules if userspace holds an event node open across driver unbind

 - A fix for the da7280 haptic driver to stop advertising FF_GAIN
   capability without implementing gain control, preventing a NULL
   pointer dereference when userspace writes a gain event

 - A fix for the goodix touchscreen driver hardening backup reference
   length validation against malformed device configurations to prevent
   invalid memory writes during probe and suspend

 - A fix for the max77693-haptic driver to disable the chip bias if
   enabling the motor regulator fails when opening the device

 - A fix for the cyapa touchpad driver to release its runtime PM
   reference on interrupted lock acquisition so autosuspend keeps
   working

 - A fix for the Atari mouse driver and m68k IKBD glue to treat mouse
   movement deltas as signed bytes, restoring proper cursor movement
   with unsigned-char kernel builds

 - An update to the trackpoint driver adding a new JYT_NDT variant ID
   found on Lenovo ThinkPad X14 Gen 1 laptops so the device is not
   misdetected as a generic PS/2 mouse

 - Updates to the xpad driver adding support for Hori Real Arcade Pro 4,
   Hori Taiko Controller DX, Hyperkin Xenon, 8BitDo M30, and GameSir G7
   Pro controllers

* tag 'input-for-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
  Input: destroy force-feedback device on input unregistration
  Input: max77693-haptic - disable bias on failed open
  Input: trackpoint - add new TP JYT_NDT device variant id 7
  m68k: Fix atari mouse movement
  Input: xpad.c - add support for Hyperkin Xenon, Hori Taiko Controller DX, and 8BitDo M30
  Input: xpad - add support to Hori Real Arcade Pro 4
  Input: da7280 - do not advertise FF_GAIN
  Input: cyapa - fix runtime PM leak in cyapa_update_rt_suspend_scanrate()
  Input: goodix - reject a bak_ref length that cannot hold the checksum
  Input: xpad - add GameSir G7 Pro support
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf</title>
<updated>2026-11-21T01:41:06+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-21T01:41:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=84afebd853437e44cb71f718be11d90e4c1a59dd'/>
<id>84afebd853437e44cb71f718be11d90e4c1a59dd</id>
<content type='text'>
Pull bpf fixes from Alexei Starovoitov:
 "Mostly sockmap fixes as promised, plus uprobe ctx rewrite via bpf and
  cgroup-bpf fixes.

   - Reject writable map iterators on read-only maps (Adethya
     Srinivasan)

   - Various sockmap fixes (Alexei Starovoitov):
       - Clear the redirect target before the sk_msg prog runs
       - Check that the redirected message is the cork
       - Leave sk_stream_wait_memory() once the socket is dead
       - Keep the rest of the cork after a redirect
       - Don't let an SK_PASS verdict cover the next message
       - Subtract all dropped bytes from the return value of sendmsg()
       - Clear the end mark of elements added by bpf_msg_push_data() and
         bpf_msg_pop_data()

   - Fix ring capacity invariant break in bpf_msg_push_data() (Bo Cao)

   - Report RCU-tasks quiescent states in do_check() to fix rcu_tasks
     stalls during a long verification (Breno Leitao)

   - Various sockmap fixes (Chris Mason):
       - Give no progs to a TCP listener
       - Check the target of an egress redirect before each send
       - Check the TCP state in recvmsg()
       - Reset the copy position when corking
       - Don't copy 0 bytes into a full cork

   - Use a dedicated workqueue for freeing BPF programs to fix a
     deadlock between pack_mutex waiters and the vmalloc purge work
     (Emil Tsalapatis)

   - Fix verifier model mismatch on a narrow read of
     __sk_buff.remote_port (Henry Martin)

   - Fix bpf-gcc CO-RE relocation in verifier_sockmap_mutate selftest
     (Jiayuan Chen)

   - Restrict uprobe ctx writes to the registers that ptrace can set
     (Jiri Olsa)

   - Various sockmap fixes (Josef Bacik):
       - Write sg.start when recvmsg() faults
       - Don't let an SK_DROP verdict stick
       - Clear the resume state of a stopped psock

   - Various fixes (Michal Luczaj):
       - Fix "unresolved symbol tcp_request_sock" build error with
         CONFIG_INET=n
       - Restrict iter-context sockmap updates to iter/sockmap
       - Restrict bpf_sock_destroy() to iter/{tcp,udp}
       - Mark bpf_iter__sockmap::sk as PTR_TRUSTED

   - Mark backing_file_alloc/free LSM hooks as untrusted (Sergei
     Nizovtsev)

   - Various cgroup-bpf fixes (Shakeel Butt):
       - Don't read freed effective arrays in BPF_PROG_QUERY
       - Don't attach to a removed cgroup
       - Protect cgroup_bpf state with its own mutex, so that queries
         and the release work don't wait for cgroup_mutex
       - Don't lose errors in effective BPF_LSM_CGROUP queries

   - Check variable-offset accesses against special fields (Shihuang
     Liu)"

* tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf: (38 commits)
  selftests/bpf: Test which ctx registers a uprobe prog can write
  bpf: Restrict uprobe ctx writes to the registers ptrace can set
  selftests/bpf: Fix bpf-gcc CO-RE relocation in verifier_sockmap_mutate
  bpf, cgroup: Don't lose errors in effective BPF_LSM_CGROUP queries
  bpf, cgroup: Protect cgroup_bpf state with its own mutex
  bpf, cgroup: Don't attach to a removed cgroup
  bpf, cgroup: Don't read freed effective arrays in BPF_PROG_QUERY
  bpf: Fix verifier model mismatch on __sk_buff.remote_port narrow read
  bpf: Fix "unresolved symbol tcp_request_sock" build error
  selftests/bpf: Add iter/sockmap bpf_sock_destroy() negative test
  bpf: Mark bpf_iter__sockmap::sk as PTR_TRUSTED
  bpf: Restrict bpf_sock_destroy() to iter/{tcp,udp}
  bpf, docs: Document BPF_ITER_NOSLEEP
  selftests/bpf: Add negative test for sockmap update from non-sockmap iter
  bpf, sockmap: Restrict iter-context sockmap updates to iter/sockmap
  selftests/bpf: Remove sockmap update from bpf_iter_unix
  bpf, lsm: Mark backing_file_alloc/free LSM hooks as untrusted
  bpf: Report RCU-tasks quiescent states in do_check()
  bpf: Check variable-offset accesses against special fields
  bpf: Use dedicated workqueue for freeing BPF programs
  ...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pull bpf fixes from Alexei Starovoitov:
 "Mostly sockmap fixes as promised, plus uprobe ctx rewrite via bpf and
  cgroup-bpf fixes.

   - Reject writable map iterators on read-only maps (Adethya
     Srinivasan)

   - Various sockmap fixes (Alexei Starovoitov):
       - Clear the redirect target before the sk_msg prog runs
       - Check that the redirected message is the cork
       - Leave sk_stream_wait_memory() once the socket is dead
       - Keep the rest of the cork after a redirect
       - Don't let an SK_PASS verdict cover the next message
       - Subtract all dropped bytes from the return value of sendmsg()
       - Clear the end mark of elements added by bpf_msg_push_data() and
         bpf_msg_pop_data()

   - Fix ring capacity invariant break in bpf_msg_push_data() (Bo Cao)

   - Report RCU-tasks quiescent states in do_check() to fix rcu_tasks
     stalls during a long verification (Breno Leitao)

   - Various sockmap fixes (Chris Mason):
       - Give no progs to a TCP listener
       - Check the target of an egress redirect before each send
       - Check the TCP state in recvmsg()
       - Reset the copy position when corking
       - Don't copy 0 bytes into a full cork

   - Use a dedicated workqueue for freeing BPF programs to fix a
     deadlock between pack_mutex waiters and the vmalloc purge work
     (Emil Tsalapatis)

   - Fix verifier model mismatch on a narrow read of
     __sk_buff.remote_port (Henry Martin)

   - Fix bpf-gcc CO-RE relocation in verifier_sockmap_mutate selftest
     (Jiayuan Chen)

   - Restrict uprobe ctx writes to the registers that ptrace can set
     (Jiri Olsa)

   - Various sockmap fixes (Josef Bacik):
       - Write sg.start when recvmsg() faults
       - Don't let an SK_DROP verdict stick
       - Clear the resume state of a stopped psock

   - Various fixes (Michal Luczaj):
       - Fix "unresolved symbol tcp_request_sock" build error with
         CONFIG_INET=n
       - Restrict iter-context sockmap updates to iter/sockmap
       - Restrict bpf_sock_destroy() to iter/{tcp,udp}
       - Mark bpf_iter__sockmap::sk as PTR_TRUSTED

   - Mark backing_file_alloc/free LSM hooks as untrusted (Sergei
     Nizovtsev)

   - Various cgroup-bpf fixes (Shakeel Butt):
       - Don't read freed effective arrays in BPF_PROG_QUERY
       - Don't attach to a removed cgroup
       - Protect cgroup_bpf state with its own mutex, so that queries
         and the release work don't wait for cgroup_mutex
       - Don't lose errors in effective BPF_LSM_CGROUP queries

   - Check variable-offset accesses against special fields (Shihuang
     Liu)"

* tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf: (38 commits)
  selftests/bpf: Test which ctx registers a uprobe prog can write
  bpf: Restrict uprobe ctx writes to the registers ptrace can set
  selftests/bpf: Fix bpf-gcc CO-RE relocation in verifier_sockmap_mutate
  bpf, cgroup: Don't lose errors in effective BPF_LSM_CGROUP queries
  bpf, cgroup: Protect cgroup_bpf state with its own mutex
  bpf, cgroup: Don't attach to a removed cgroup
  bpf, cgroup: Don't read freed effective arrays in BPF_PROG_QUERY
  bpf: Fix verifier model mismatch on __sk_buff.remote_port narrow read
  bpf: Fix "unresolved symbol tcp_request_sock" build error
  selftests/bpf: Add iter/sockmap bpf_sock_destroy() negative test
  bpf: Mark bpf_iter__sockmap::sk as PTR_TRUSTED
  bpf: Restrict bpf_sock_destroy() to iter/{tcp,udp}
  bpf, docs: Document BPF_ITER_NOSLEEP
  selftests/bpf: Add negative test for sockmap update from non-sockmap iter
  bpf, sockmap: Restrict iter-context sockmap updates to iter/sockmap
  selftests/bpf: Remove sockmap update from bpf_iter_unix
  bpf, lsm: Mark backing_file_alloc/free LSM hooks as untrusted
  bpf: Report RCU-tasks quiescent states in do_check()
  bpf: Check variable-offset accesses against special fields
  bpf: Use dedicated workqueue for freeing BPF programs
  ...
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'block-7.4-20261119' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux</title>
<updated>2026-11-20T18:17:06+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-20T18:17:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a904dcf3fdf29cdac99ea354789bc5c82df0d5ad'/>
<id>a904dcf3fdf29cdac99ea354789bc5c82df0d5ad</id>
<content type='text'>
Pull block fixes from Jens Axboe:

 - NVMe fixes via Keith:
     - nvme-tcp fixes for TLS record handling and waiting for an
       in-flight TLS handshake callback
     - Fix a deadlock on nvme_subsystems_lock in nvme_init_subsystem()
     - Fix a gendisk leak in nvme_alloc_ns()
     - Stop AEN work before ANA teardown
     - Remove namespaces in parallel
     - Various nvmet fixes for auth, the file backend, fc, tcp, loop,
       and connection failure rollback
     - sysfs input validation and kfree_sensitive() for DH-HMAC-CHAP
       secrets
     - Dead code removal

 - Fix a 32-bit overflow in the blk-iocost donation weight calculation

 - ublk fixes: validate all parameters for zoned devices, and dispatch
   the next fetch after a batch failure

 - Fix a pm_only underflow when a runtime resume is retried after a
   failed one

 - nbd: reclassify sockets in the reconnect path too, to avoid lockdep
   false positives

 - Take quiesce_lock when removing a queue from the tag set, fixing a
   use-after-free in blk_mq_unquiesce_tagset()

 - Allow error injection rules to delay bios, and reject unknown status
   tags

* tag 'block-7.4-20261119' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux: (49 commits)
  Documentation: block: document error injection delay feature
  block: allow error injection rules to delay bios
  block: Reject unknown status tags in error injection rules
  blk-mq: take quiesce_lock when removing a queue from the tag set
  nbd: Reclassify sockets in the reconnect path
  block: Keep RPM_ACTIVE in blk_pre_runtime_resume() when already active
  nvme-fabrics: use kfree_sensitive() for the old DH-HMAC-CHAP secret
  nvme-sysfs: use kfree_sensitive() for DH-HMAC-CHAP secrets
  nvmet: roll back queue bindings on connection failure
  nvmet-fc: reject duplicate queue IDs on Create Connection
  nvmet-fcloop: free the LS request when delivery fails
  nvme-tcp: require the R2T offset to match the data sent
  nvmet-tcp: only wait for in-capsule data for inline SGLs
  nvme-loop: release the target request when SG setup fails
  nvmet-auth: store the DH-CHAP key offset instead of hardcoding it
  nvme-tcp: consume TLS records without application data
  nvme-tcp: move the TLS record read loop into a helper
  nvme-tcp: use an aligned buffer for the TLS record type
  nvmet: use overflow-safe range checks in the file backend
  nvmet: handle short reads and writes in the file backend
  ...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pull block fixes from Jens Axboe:

 - NVMe fixes via Keith:
     - nvme-tcp fixes for TLS record handling and waiting for an
       in-flight TLS handshake callback
     - Fix a deadlock on nvme_subsystems_lock in nvme_init_subsystem()
     - Fix a gendisk leak in nvme_alloc_ns()
     - Stop AEN work before ANA teardown
     - Remove namespaces in parallel
     - Various nvmet fixes for auth, the file backend, fc, tcp, loop,
       and connection failure rollback
     - sysfs input validation and kfree_sensitive() for DH-HMAC-CHAP
       secrets
     - Dead code removal

 - Fix a 32-bit overflow in the blk-iocost donation weight calculation

 - ublk fixes: validate all parameters for zoned devices, and dispatch
   the next fetch after a batch failure

 - Fix a pm_only underflow when a runtime resume is retried after a
   failed one

 - nbd: reclassify sockets in the reconnect path too, to avoid lockdep
   false positives

 - Take quiesce_lock when removing a queue from the tag set, fixing a
   use-after-free in blk_mq_unquiesce_tagset()

 - Allow error injection rules to delay bios, and reject unknown status
   tags

* tag 'block-7.4-20261119' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux: (49 commits)
  Documentation: block: document error injection delay feature
  block: allow error injection rules to delay bios
  block: Reject unknown status tags in error injection rules
  blk-mq: take quiesce_lock when removing a queue from the tag set
  nbd: Reclassify sockets in the reconnect path
  block: Keep RPM_ACTIVE in blk_pre_runtime_resume() when already active
  nvme-fabrics: use kfree_sensitive() for the old DH-HMAC-CHAP secret
  nvme-sysfs: use kfree_sensitive() for DH-HMAC-CHAP secrets
  nvmet: roll back queue bindings on connection failure
  nvmet-fc: reject duplicate queue IDs on Create Connection
  nvmet-fcloop: free the LS request when delivery fails
  nvme-tcp: require the R2T offset to match the data sent
  nvmet-tcp: only wait for in-capsule data for inline SGLs
  nvme-loop: release the target request when SG setup fails
  nvmet-auth: store the DH-CHAP key offset instead of hardcoding it
  nvme-tcp: consume TLS records without application data
  nvme-tcp: move the TLS record read loop into a helper
  nvme-tcp: use an aligned buffer for the TLS record type
  nvmet: use overflow-safe range checks in the file backend
  nvmet: handle short reads and writes in the file backend
  ...
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'kvm-x86-fixes-7.4-rc4' of https://github.com/kvm-x86/linux into HEAD</title>
<updated>2026-11-20T09:26:15+00:00</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2026-11-20T09:26:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=01247f3ce8272b48e63d5040a7c7e1cf45558b72'/>
<id>01247f3ce8272b48e63d5040a7c7e1cf45558b72</id>
<content type='text'>
KVM fixes for 7.4-rcN

 - Mitigate a class of (x86) bugs where KVM can read/write guest (userspace)
   memory using the wrong mm, i.e. using the wrong user page tables.

 - Don't force a full nested VMX VM-Exit when destroying a vCPU, as processing
   the MSR load/store lists and writing back the shadow vmcs12 is wildly wrong
   when VM is dying.

 - Implement "flush shadow all" on KVM PPC to ensure KVM's mappings are torn
   down when the VM and/or owning process is dying.

 - Provide empty installation rules for architectures that aren't supported by
   KVM selftests to fix build issues in CI environments.

 - Fix KVM selftests' rules for generating arm64's sysreg headers so that the
   headers are properly (re)generated on incremental builds.

 - Clear only the VMCB save area on an intercepted SHUTDOWN on SVM, partly to
   avoid unnecessary churn, but mostly to prevent KVM from clobbering the PML
   index.

 - Update the tracked pCPU on task migration for both vmcb01 and vmcb02 to fix
   an edge case where KVM can use a stale ASID across pCPUs.

 - Rework the single-vCPU kick logic to fix a bug where KVM would fail to wait
   for a target vCPU to respond if another in-flight, non-waiting kick changed
   the vCPU's mode to EXITING_GUEST_MODE.

 - Clear nVMX's smm.guest_most when freeing nested state, and if a RSM to L2
   ultimately fails (and queues a TRIPLE_FAULT to L1).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
KVM fixes for 7.4-rcN

 - Mitigate a class of (x86) bugs where KVM can read/write guest (userspace)
   memory using the wrong mm, i.e. using the wrong user page tables.

 - Don't force a full nested VMX VM-Exit when destroying a vCPU, as processing
   the MSR load/store lists and writing back the shadow vmcs12 is wildly wrong
   when VM is dying.

 - Implement "flush shadow all" on KVM PPC to ensure KVM's mappings are torn
   down when the VM and/or owning process is dying.

 - Provide empty installation rules for architectures that aren't supported by
   KVM selftests to fix build issues in CI environments.

 - Fix KVM selftests' rules for generating arm64's sysreg headers so that the
   headers are properly (re)generated on incremental builds.

 - Clear only the VMCB save area on an intercepted SHUTDOWN on SVM, partly to
   avoid unnecessary churn, but mostly to prevent KVM from clobbering the PML
   index.

 - Update the tracked pCPU on task migration for both vmcb01 and vmcb02 to fix
   an edge case where KVM can use a stale ASID across pCPUs.

 - Rework the single-vCPU kick logic to fix a bug where KVM would fail to wait
   for a target vCPU to respond if another in-flight, non-waiting kick changed
   the vCPU's mode to EXITING_GUEST_MODE.

 - Clear nVMX's smm.guest_most when freeing nested state, and if a RSM to L2
   ultimately fails (and queues a TRIPLE_FAULT to L1).
</pre>
</div>
</content>
</entry>
<entry>
<title>bpf: Restrict uprobe ctx writes to the registers ptrace can set</title>
<updated>2026-11-20T02:30:59+00:00</updated>
<author>
<name>Jiri Olsa</name>
<email>jolsa@kernel.org</email>
</author>
<published>2026-11-18T08:44:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ca44731a7009da1dbcdf1979438d1985d93331d1'/>
<id>ca44731a7009da1dbcdf1979438d1985d93331d1</id>
<content type='text'>
Since commit 7384893d970e ("bpf: Allow uprobe program to change context
registers") a uprobe program can write any field of struct pt_regs.
Some of those fields are not plain user registers. The exit to user
space loads them into the CPU:

  arch    field   exit path                        ptrace
  ------  ------  -------------------------------  ------------------
  riscv   status  csrw CSR_STATUS, a0              not in the regset
  arm64   pstate  msr spsr_el1, x22                valid_user_regs()
  x86-64  cs, ss  (cs &amp; 3) == 0: iretq to ring 0   set_segment_reg()
  x86-64  flags   iretq loads IF and IOPL          set_flags()

On riscv a program that sets sstatus.SPP in pt_regs.status makes
ret_from_exception return to user code in supervisor mode. On x86-64 a
program that writes a kernel selector to cs makes iretq return to
ring 0.
ptrace guards these fields, but the bpf verifier does not.

Add arch_uprobe_regs_writable(). Each arch lists the registers that
ptrace can set to any value, and kprobe_prog_is_valid_access() rejects
writes to any other offset when the program is loaded:

  arm64:   x0 to x30, sp, pc
  riscv:   epc, ra to t6
  x86-64:  r15 to di, ip, sp

The default is no writes, so arches without a list (and 32-bit x86)
lose ctx writes for uprobe programs. Reads are not affected.

flags on x86-64 and pstate on arm64 become read-only, including the
condition bits that ptrace would let a debugger change. orig_ax is
read-only too.

Kprobe programs that write ctx were already rejected when they were
attached. Those that write one of these fields now fail to load.

Fixes: 7384893d970e ("bpf: Allow uprobe program to change context registers")
Reported-by: rtm@csail.mit.edu
Suggested-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
Signed-off-by: Jiri Olsa &lt;jolsa@kernel.org&gt;
Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20261118084451.12590-2-jolsa@kernel.org
Closes: https://lore.kernel.org/bpf/30318.1794850523@30-11-166.wireless.csail.mit.edu/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since commit 7384893d970e ("bpf: Allow uprobe program to change context
registers") a uprobe program can write any field of struct pt_regs.
Some of those fields are not plain user registers. The exit to user
space loads them into the CPU:

  arch    field   exit path                        ptrace
  ------  ------  -------------------------------  ------------------
  riscv   status  csrw CSR_STATUS, a0              not in the regset
  arm64   pstate  msr spsr_el1, x22                valid_user_regs()
  x86-64  cs, ss  (cs &amp; 3) == 0: iretq to ring 0   set_segment_reg()
  x86-64  flags   iretq loads IF and IOPL          set_flags()

On riscv a program that sets sstatus.SPP in pt_regs.status makes
ret_from_exception return to user code in supervisor mode. On x86-64 a
program that writes a kernel selector to cs makes iretq return to
ring 0.
ptrace guards these fields, but the bpf verifier does not.

Add arch_uprobe_regs_writable(). Each arch lists the registers that
ptrace can set to any value, and kprobe_prog_is_valid_access() rejects
writes to any other offset when the program is loaded:

  arm64:   x0 to x30, sp, pc
  riscv:   epc, ra to t6
  x86-64:  r15 to di, ip, sp

The default is no writes, so arches without a list (and 32-bit x86)
lose ctx writes for uprobe programs. Reads are not affected.

flags on x86-64 and pstate on arm64 become read-only, including the
condition bits that ptrace would let a debugger change. orig_ax is
read-only too.

Kprobe programs that write ctx were already rejected when they were
attached. Those that write one of these fields now fail to load.

Fixes: 7384893d970e ("bpf: Allow uprobe program to change context registers")
Reported-by: rtm@csail.mit.edu
Suggested-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
Signed-off-by: Jiri Olsa &lt;jolsa@kernel.org&gt;
Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20261118084451.12590-2-jolsa@kernel.org
Closes: https://lore.kernel.org/bpf/30318.1794850523@30-11-166.wireless.csail.mit.edu/
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: destroy force-feedback device on input unregistration</title>
<updated>2026-11-19T22:03:59+00:00</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2026-11-12T02:33:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2ae35f090d029d2d8491b0a7f98a04c5c05d0a44'/>
<id>2ae35f090d029d2d8491b0a7f98a04c5c05d0a44</id>
<content type='text'>
When an input device is unregistered while userspace holds an open file
descriptor to its event node, input_dev_release() is deferred until the
last file descriptor is closed. Because input_ff_destroy() was only
called from input_dev_release(), force-feedback teardown (ff-&gt;destroy
and freeing ff-&gt;private) could run after the parent driver had already
unbound, freed its device state, or even been unloaded via rmmod,
causing use-after-free errors or page faults in unmapped module text.

Commit ef166ce08801 ("Input: stop force-feedback timer when
unregistering input devices") added a separate ff-&gt;stop callback for
ff-memless, but left ff-&gt;destroy invoked from input_dev_release().

Once __input_unregister_device() has disconnected all input handlers
(which flushes effects, closes the device, and marks evdev dead) and
deleted the device from sysfs, nothing accesses dev-&gt;ff anymore. Call
input_ff_destroy() directly in __input_unregister_device() so that
ff-&gt;destroy() always runs synchronously while the driver and its module
are still active, and remove the now-redundant ff-&gt;stop callback. Keep
input_ff_destroy() in input_dev_release() (where it is a no-op once
dev-&gt;ff is NULL) to handle input_free_device() on devices that were
never registered.

Fixes: 509ca1a93836 ("Input: implement new force feedback interface")
Reported-by: Gideon Heinz &lt;gideonheinz02@gmail.com&gt;
Closes: https://lore.kernel.org/r/CAPb1+K2BxnfQ7VUQ15td5f9pVhn-ARSM9EjfOU8WuW72o+cvPg@mail.gmail.com
Tested-by: Gideon Heinz &lt;gideonheinz02@gmail.com&gt;
Link: https://patch.msgid.link/2f722967b6db0692d4dd4164aff39b62@gmail.com
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When an input device is unregistered while userspace holds an open file
descriptor to its event node, input_dev_release() is deferred until the
last file descriptor is closed. Because input_ff_destroy() was only
called from input_dev_release(), force-feedback teardown (ff-&gt;destroy
and freeing ff-&gt;private) could run after the parent driver had already
unbound, freed its device state, or even been unloaded via rmmod,
causing use-after-free errors or page faults in unmapped module text.

Commit ef166ce08801 ("Input: stop force-feedback timer when
unregistering input devices") added a separate ff-&gt;stop callback for
ff-memless, but left ff-&gt;destroy invoked from input_dev_release().

Once __input_unregister_device() has disconnected all input handlers
(which flushes effects, closes the device, and marks evdev dead) and
deleted the device from sysfs, nothing accesses dev-&gt;ff anymore. Call
input_ff_destroy() directly in __input_unregister_device() so that
ff-&gt;destroy() always runs synchronously while the driver and its module
are still active, and remove the now-redundant ff-&gt;stop callback. Keep
input_ff_destroy() in input_dev_release() (where it is a no-op once
dev-&gt;ff is NULL) to handle input_free_device() on devices that were
never registered.

Fixes: 509ca1a93836 ("Input: implement new force feedback interface")
Reported-by: Gideon Heinz &lt;gideonheinz02@gmail.com&gt;
Closes: https://lore.kernel.org/r/CAPb1+K2BxnfQ7VUQ15td5f9pVhn-ARSM9EjfOU8WuW72o+cvPg@mail.gmail.com
Tested-by: Gideon Heinz &lt;gideonheinz02@gmail.com&gt;
Link: https://patch.msgid.link/2f722967b6db0692d4dd4164aff39b62@gmail.com
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'net-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net</title>
<updated>2026-11-19T16:11:44+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-19T16:11:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=1e575bda30acc0bf01f799cee798d4a1c100d538'/>
<id>1e575bda30acc0bf01f799cee798d4a1c100d538</id>
<content type='text'>
Pull networking fixes from Paolo Abeni:
 "Including fixes from netfilter and Bluetooth.

  Current release - regressions:

    - ipvs: honor the overload state and do not enter it forever

  Previous releases - regressions:

    - core:
       - prevent receive header offset overflow during decapsulation
       - avoid truncated transport header offsets

    - tcp:
       - fix NULL pointer dereference when restarting a fast open listener
       - fix the SO_REUSEPORT bind cache admitting a conflicting socket

    - sctp: do not free a new asoc peeled off while sendmsg slept

    - bridge: fix skb leak of reinjected link-local frames

    - bluetooth:
      - L2CAP: clear the SDU before the receive callback
      - vhci: serialize packet reception with device creation

    - ipvs:
       - avoid stack overflow from recursive connection expiration
       - fix problems during connection deletion

    - eth:
       - virtio_net: check RX buffer length before DMA sync
       - gve: fix RX page refcount overflow from INT_MAX pagecnt_bias

  Previous releases - always broken:

    - core: make room for the tunnel header in skb_segment_list()

    - eth:
       - i40e: fix freeing of TX rings on RX allocation failure
       - stmmac: fix VXLAN over IPv6 with zero UDP checksum"

* tag 'net-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (117 commits)
  net: prevent receive header offset overflow during decapsulation
  tcp: bound the rto_min of a route in tcp_rto_min()
  tcp: clamp the samples in tcp_rcv_rtt_update()
  tcp: reject RTT samples from TSecr above 120 s
  tcp: clamp RTT samples in tcp_rtt_estimator()
  tcp: don't let __tcp_set_rto() return 0
  net: make room for the tunnel header in skb_segment_list()
  udp: use skb_set_transport_header_careful() in __udp6_lib_err_encap()
  sctp: use skb_set_transport_header_careful() in sctp_v6_err()
  net: openvswitch: use skb_set_transport_header_careful() in parse_ipv6hdr()
  ipv6: mcast: use skb_set_transport_header_careful() in ipv6_mc_check_exthdrs()
  ipv6: gro: limit the number of extension headers
  net: stmmac: dwmac1000: stop hardware from dropping checksum-error packets
  net: stmmac: dwmac1000: don't discard frames with only a checksum error
  net: stmmac: honour Rx checksum errors in the AF_XDP zero-copy path
  veth: wake the peer txq when deleting NAPI
  veth: wake a stopped peer txq beyond real_num_tx_queues
  iavf: add missing PTP adjustment callbacks
  iavf: fix ASQ command buffer leak on init failure
  iavf: fix QoS capabilities memory leak
  ...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pull networking fixes from Paolo Abeni:
 "Including fixes from netfilter and Bluetooth.

  Current release - regressions:

    - ipvs: honor the overload state and do not enter it forever

  Previous releases - regressions:

    - core:
       - prevent receive header offset overflow during decapsulation
       - avoid truncated transport header offsets

    - tcp:
       - fix NULL pointer dereference when restarting a fast open listener
       - fix the SO_REUSEPORT bind cache admitting a conflicting socket

    - sctp: do not free a new asoc peeled off while sendmsg slept

    - bridge: fix skb leak of reinjected link-local frames

    - bluetooth:
      - L2CAP: clear the SDU before the receive callback
      - vhci: serialize packet reception with device creation

    - ipvs:
       - avoid stack overflow from recursive connection expiration
       - fix problems during connection deletion

    - eth:
       - virtio_net: check RX buffer length before DMA sync
       - gve: fix RX page refcount overflow from INT_MAX pagecnt_bias

  Previous releases - always broken:

    - core: make room for the tunnel header in skb_segment_list()

    - eth:
       - i40e: fix freeing of TX rings on RX allocation failure
       - stmmac: fix VXLAN over IPv6 with zero UDP checksum"

* tag 'net-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (117 commits)
  net: prevent receive header offset overflow during decapsulation
  tcp: bound the rto_min of a route in tcp_rto_min()
  tcp: clamp the samples in tcp_rcv_rtt_update()
  tcp: reject RTT samples from TSecr above 120 s
  tcp: clamp RTT samples in tcp_rtt_estimator()
  tcp: don't let __tcp_set_rto() return 0
  net: make room for the tunnel header in skb_segment_list()
  udp: use skb_set_transport_header_careful() in __udp6_lib_err_encap()
  sctp: use skb_set_transport_header_careful() in sctp_v6_err()
  net: openvswitch: use skb_set_transport_header_careful() in parse_ipv6hdr()
  ipv6: mcast: use skb_set_transport_header_careful() in ipv6_mc_check_exthdrs()
  ipv6: gro: limit the number of extension headers
  net: stmmac: dwmac1000: stop hardware from dropping checksum-error packets
  net: stmmac: dwmac1000: don't discard frames with only a checksum error
  net: stmmac: honour Rx checksum errors in the AF_XDP zero-copy path
  veth: wake the peer txq when deleting NAPI
  veth: wake a stopped peer txq beyond real_num_tx_queues
  iavf: add missing PTP adjustment callbacks
  iavf: fix ASQ command buffer leak on init failure
  iavf: fix QoS capabilities memory leak
  ...
</pre>
</div>
</content>
</entry>
<entry>
<title>net: prevent receive header offset overflow during decapsulation</title>
<updated>2026-11-19T14:28:29+00:00</updated>
<author>
<name>Chris J Arges</name>
<email>carges@cloudflare.com</email>
</author>
<published>2026-11-18T14:32:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b10c986f1769287270de248548476f6dc2275d59'/>
<id>b10c986f1769287270de248548476f6dc2275d59</id>
<content type='text'>
Repeated decapsulation can leave skb-&gt;data far from skb-&gt;head while
the remaining packet data is still valid. Since the skb header positions
are 16-bit offsets, a later header update can truncate and make header
access use unrelated bytes and eventually crash.

Limit receive headroom to 32 KiB. This is well beyond the headroom of
normal packets while allowing the networking stack to pull enough
headers in a single pass without overflowing 16-bit header offsets.

Tunnel decapsulation re-enters __netif_receive_skb_core(), so its check
protects nested IPIP and GRE. FOU and GUE bypass receive core, so check
their IPv4 and IPv6 resubmission paths too. Together, these checks
prevent 16-bit header-offset truncation in cases of repeated
decapsulation.

Report these rejections with the SKB_RX_HEADROOM drop reason.

Fixes: 1a37e412a022 ("net: Use 16bits for *_headers fields of struct skbuff")
Cc: stable@kernel.org
Suggested-by: Eric Dumazet &lt;edumazet@kernel.org&gt;
Signed-off-by: Chris J Arges &lt;carges@cloudflare.com&gt;
Reviewed-by: Ido Schimmel &lt;idosch@nvidia.com&gt;
Link: https://patch.msgid.link/20261118-prevent_rx_header_offset_overflow-v1-1-92a5be55f994@cloudflare.com
Signed-off-by: Paolo Abeni &lt;pabeni@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Repeated decapsulation can leave skb-&gt;data far from skb-&gt;head while
the remaining packet data is still valid. Since the skb header positions
are 16-bit offsets, a later header update can truncate and make header
access use unrelated bytes and eventually crash.

Limit receive headroom to 32 KiB. This is well beyond the headroom of
normal packets while allowing the networking stack to pull enough
headers in a single pass without overflowing 16-bit header offsets.

Tunnel decapsulation re-enters __netif_receive_skb_core(), so its check
protects nested IPIP and GRE. FOU and GUE bypass receive core, so check
their IPv4 and IPv6 resubmission paths too. Together, these checks
prevent 16-bit header-offset truncation in cases of repeated
decapsulation.

Report these rejections with the SKB_RX_HEADROOM drop reason.

Fixes: 1a37e412a022 ("net: Use 16bits for *_headers fields of struct skbuff")
Cc: stable@kernel.org
Suggested-by: Eric Dumazet &lt;edumazet@kernel.org&gt;
Signed-off-by: Chris J Arges &lt;carges@cloudflare.com&gt;
Reviewed-by: Ido Schimmel &lt;idosch@nvidia.com&gt;
Link: https://patch.msgid.link/20261118-prevent_rx_header_offset_overflow-v1-1-92a5be55f994@cloudflare.com
Signed-off-by: Paolo Abeni &lt;pabeni@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'mm-hotfixes-stable-2026-11-17-19-55' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm</title>
<updated>2026-11-18T17:01:16+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-18T17:01:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d866d5bafc5e1417032255002e95f8ec3121754b'/>
<id>d866d5bafc5e1417032255002e95f8ec3121754b</id>
<content type='text'>
Pull MM fixes from Andrew Morton:

 - "maple_tree fixes for 7.3" (Liam R. Howlett):

   Fix an RCU reader NULL dereference when the tree is emptied during a
   walk, including /proc/PID/maps racing with munmap(). Add tests and
   make debug WARN and BUG checks report failures properly

 - "mm/kasan: Detect double-free involving kfree_rcu_sheaf()" (Kuniyuki
   Iwashima):

   Detect double-free when an object enters an RCU sheaf. KASAN could
   previously miss it until the object was reused, leading to a later
   free of a live object. Add KUnit tests for the different free orders

 - "mm: Fix page-table teardown during memory hot-remove" (Muchun Song):

   Balance page-table constructors and destructors when hot-remove frees
   tables on x86-64, RISC-V and arm64. This fixes NR_PAGETABLE
   accounting for tables with and without constructors

 - "mm/damon: fix watermark state, kunit pid leak and selftest fake
   pass" (SJ Park):

   Recompute watermark wait state when DAMON schemes are removed, so
   kdamond resumes monitoring. Fix a pid reference leak in KUnit and a
   selftest that reports a skipped run as a pass

 - An XArray iterator could step backwards when a large page-cache entry
   was split, sending filemap_map_pages() outside the PTE page it
   locked. The XArray correction and a filemap bound check prevent
   out-of-bounds accesses and use-after-free. Another XArray fix
   prevents lockless walkers from following a parent pointer into a
   freed node

 - Userfaultfd now validates the whole write-protection range before
   changing any VMA, avoiding partial unprotect without waking blocked
   faults. Failed unmaps now abort queued UFFD_EVENT_UNMAPs; previously
   they could report a nonexistent unmap, leak the userfaultfd context
   and leave later operations returning -EAGAIN. A fork fix clears stale
   uffd PTE bits if the new context is released before its event is
   read

 - Moving the hugetlbfs inode trace event before RCU freeing avoids a
   use-after-free of its superblock. Shmem swapin no longer retries
   forever on reused swap slots containing a mismatched large swap-cache
   folio. Swapoff also avoids a cluster-list loop that can soft-lock
   reclaim and leave swapoff hung

 - Weighted interleave recalculation now uses one node set throughout,
   avoiding a divide-by-zero during memory hotplug. Hwpoison holds the
   folio lock when inspecting its mapping and no longer leaks a folio
   reference; it also updates poison statistics before notifying
   rasdaemon through a trace event

 - Cross-node migration now moves NR_FILE_THPS and NR_KERNEL_FILE_PAGES
   with page-cache folios, preventing per-node and memcg-node accounting
   from retaining stale counts or underflowing after the folios are
   freed

* tag 'mm-hotfixes-stable-2026-11-17-19-55' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (27 commits)
  xarray: fix index jumping backwards in xas_find()
  userfaultfd: validate the whole range before changing write protection
  maple_tree: update internal warning and bug_on code
  maple_tree: test emptying tree while RCU reading
  maple_tree: fix rcu reader NULL dereference after the tree is emptied
  mm/vma: read anon_vma carefully in validate_mm()
  hugetlbfs: move hugetlbfs_free_inode tracepoint to -&gt;destroy_inode()
  selftests/damon/sysfs_memcg_path_leak: define ksft_skip
  mm/damon/tests/sysfs-kunit: fix leaked pid reference in add_targets test
  mm/damon/core: reset watermark wait state on each iteration
  mm/filemap: stop fault-around when the walk steps back
  mm: memory-failure: update statistics before emitting the trace event
  mm/vma: undo userfaultfd unmap preparation when unmapping fails
  userfaultfd: clear uffd state in child PTEs if uffd is released during fork
  mm/memory-failure: fix folio refcount leak and min_order_for_split() locking
  mm/shmem: fix swapin livelock on a mismatched large swap cache folio
  mm/mempolicy: use one node set for interleave weights
  xarray: clear the new head's parent before freeing the old head
  arm64/mm: fix destructor for unconstructed hotplug page tables
  riscv/mm: fix missing destructor for hotplug PUD tables
  ...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pull MM fixes from Andrew Morton:

 - "maple_tree fixes for 7.3" (Liam R. Howlett):

   Fix an RCU reader NULL dereference when the tree is emptied during a
   walk, including /proc/PID/maps racing with munmap(). Add tests and
   make debug WARN and BUG checks report failures properly

 - "mm/kasan: Detect double-free involving kfree_rcu_sheaf()" (Kuniyuki
   Iwashima):

   Detect double-free when an object enters an RCU sheaf. KASAN could
   previously miss it until the object was reused, leading to a later
   free of a live object. Add KUnit tests for the different free orders

 - "mm: Fix page-table teardown during memory hot-remove" (Muchun Song):

   Balance page-table constructors and destructors when hot-remove frees
   tables on x86-64, RISC-V and arm64. This fixes NR_PAGETABLE
   accounting for tables with and without constructors

 - "mm/damon: fix watermark state, kunit pid leak and selftest fake
   pass" (SJ Park):

   Recompute watermark wait state when DAMON schemes are removed, so
   kdamond resumes monitoring. Fix a pid reference leak in KUnit and a
   selftest that reports a skipped run as a pass

 - An XArray iterator could step backwards when a large page-cache entry
   was split, sending filemap_map_pages() outside the PTE page it
   locked. The XArray correction and a filemap bound check prevent
   out-of-bounds accesses and use-after-free. Another XArray fix
   prevents lockless walkers from following a parent pointer into a
   freed node

 - Userfaultfd now validates the whole write-protection range before
   changing any VMA, avoiding partial unprotect without waking blocked
   faults. Failed unmaps now abort queued UFFD_EVENT_UNMAPs; previously
   they could report a nonexistent unmap, leak the userfaultfd context
   and leave later operations returning -EAGAIN. A fork fix clears stale
   uffd PTE bits if the new context is released before its event is
   read

 - Moving the hugetlbfs inode trace event before RCU freeing avoids a
   use-after-free of its superblock. Shmem swapin no longer retries
   forever on reused swap slots containing a mismatched large swap-cache
   folio. Swapoff also avoids a cluster-list loop that can soft-lock
   reclaim and leave swapoff hung

 - Weighted interleave recalculation now uses one node set throughout,
   avoiding a divide-by-zero during memory hotplug. Hwpoison holds the
   folio lock when inspecting its mapping and no longer leaks a folio
   reference; it also updates poison statistics before notifying
   rasdaemon through a trace event

 - Cross-node migration now moves NR_FILE_THPS and NR_KERNEL_FILE_PAGES
   with page-cache folios, preventing per-node and memcg-node accounting
   from retaining stale counts or underflowing after the folios are
   freed

* tag 'mm-hotfixes-stable-2026-11-17-19-55' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (27 commits)
  xarray: fix index jumping backwards in xas_find()
  userfaultfd: validate the whole range before changing write protection
  maple_tree: update internal warning and bug_on code
  maple_tree: test emptying tree while RCU reading
  maple_tree: fix rcu reader NULL dereference after the tree is emptied
  mm/vma: read anon_vma carefully in validate_mm()
  hugetlbfs: move hugetlbfs_free_inode tracepoint to -&gt;destroy_inode()
  selftests/damon/sysfs_memcg_path_leak: define ksft_skip
  mm/damon/tests/sysfs-kunit: fix leaked pid reference in add_targets test
  mm/damon/core: reset watermark wait state on each iteration
  mm/filemap: stop fault-around when the walk steps back
  mm: memory-failure: update statistics before emitting the trace event
  mm/vma: undo userfaultfd unmap preparation when unmapping fails
  userfaultfd: clear uffd state in child PTEs if uffd is released during fork
  mm/memory-failure: fix folio refcount leak and min_order_for_split() locking
  mm/shmem: fix swapin livelock on a mismatched large swap cache folio
  mm/mempolicy: use one node set for interleave weights
  xarray: clear the new head's parent before freeing the old head
  arm64/mm: fix destructor for unconstructed hotplug page tables
  riscv/mm: fix missing destructor for hotplug PUD tables
  ...
</pre>
</div>
</content>
</entry>
</feed>
