Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
337 commits
Select commit Hold shift + click to select a range
b0233fa
wifi: mac80211: lock wiphy in IP address notifier
jmberg-intel Aug 28, 2023
4caf2e0
wifi: cfg80211: check wiphy mutex is held for wdev mutex
jmberg-intel Aug 28, 2023
78b86d7
wifi: mac80211: fix BA session teardown race
jmberg-intel Aug 29, 2023
06571d6
mm: Remove kmem_valid_obj()
Aug 5, 2023
711f2a8
rcu: Dump memory object info if callback function is invalid
Aug 5, 2023
3571c70
rcu: Eliminate rcu_gp_slow_unregister() false positive
paulmckrcu Aug 18, 2023
97a2762
net: ethernet: mtk_wed: check update_wo_rx_stats in mtk_wed_update_rx…
LorenzoBianconi Sep 12, 2023
803217a
sched/topology: Handle NUMA_NO_NODE in sched_numa_find_nth_cpu()
YuryNorov Aug 19, 2023
057627c
wifi: cw1200: Avoid processing an invalid TIM IE
Aug 31, 2023
fec0cb3
cgroup: Avoid extra dereference in css_populate_dir()
kamalesh-babulal Sep 12, 2023
5777139
i2c: riic: avoid potential division by zero
Sep 6, 2023
2b9393b
RDMA/rtrs: Fix the problem of variable not initialized fully
zhuyj Sep 19, 2023
cdf17c5
s390/smp,mcck: fix early IPI handling
hcahca Sep 5, 2023
47508c1
drm/bridge: tc358768: Attempt to fix DSI horizontal timings
tomba Sep 6, 2023
6064637
wifi: ath12k: fix WARN_ON during ath12k_mac_update_vif_chan
Sep 5, 2023
90e63a6
i3c: mipi-i3c-hci: Remove BUG() when Ring Abort request times out
jhnikula Sep 21, 2023
c116795
i3c: mipi-i3c-hci: Do not unmap region not mapped for transfer
jhnikula Sep 21, 2023
a7be27f
drm/amdkfd: Move dma unmapping after TLB flush
PhilipYangA Sep 11, 2023
a2be783
media: radio-isa: use dev_name to fill in bus_info
Sep 23, 2023
07c6a5b
wifi: ath11k: fix ath11k_mac_op_remain_on_channel() stack usage
dmantipov Sep 26, 2023
b38f64b
staging: iio: resolver: ad2s1210: fix use before initialization
dlech Sep 29, 2023
78225d1
usb: gadget: uvc: cleanup request when not in correct state
mgrzeschik Sep 11, 2023
8e700d1
drm/amd/display: Validate hw_points_num before using it
Jul 11, 2023
712e574
staging: ks7010: disable bh on tx_dev_lock
Ychame Sep 26, 2023
438524d
platform/x86/intel/ifs: Validate image size
jithu83 Oct 5, 2023
5daf29f
media: s5p-mfc: Fix potential deadlock on condlock
Ychame Sep 26, 2023
428838b
accel/habanalabs/gaudi2: unsecure tpc count registers
ofirbitt Jun 28, 2023
c9b41ff
accel/habanalabs: export dma-buf only if size/offset multiples of PAG…
Aug 9, 2023
3eed1d1
accel/habanalabs: fix bug in timestamp interrupt handling
Farah-kassabri Aug 24, 2023
f8d1611
md/raid5-cache: use READ_ONCE/WRITE_ONCE for 'conf->log'
YuKuai-huawei Oct 10, 2023
8cccaed
binfmt_misc: cleanup on filesystem umount
Oct 28, 2021
673abc5
drm/tegra: Zero-initialize iosys_map
cyndis Sep 1, 2023
f48fe43
media: qcom: venus: fix incorrect return value
Oct 6, 2023
2c301fb
iommu/arm-smmu-qcom: Add SDM670 MDSS compatible
flamingradian Sep 25, 2023
1449f7e
scsi: spi: Fix sshdr use
mikechristie Oct 4, 2023
2bb2285
wifi: mac80211: flush STA queues on unauthorization
jmberg-intel Sep 28, 2023
48005c6
gfs2: setattr_chown: Add missing initialization
Oct 21, 2023
431a4bc
clk: visconti: Add bounds-checking coverage for struct visconti_pll_p…
GustavoARSilva Oct 16, 2023
2464ccc
IB/hfi1: Fix potential deadlock on &irq_src_lock and &dd->uctxt_lock
Ychame Sep 26, 2023
79b2fe2
hwmon: (ltc2992) Avoid division by zero
amiclaus Oct 11, 2023
7243176
rust: work around `bindgen` 0.69.0 issue
ojeda Jul 9, 2024
9d880e6
rust: suppress error messages from CONFIG_{RUSTC,BINDGEN}_VERSION_TEXT
masahir0y Jul 27, 2024
fca95bf
rust: fix the default format for CONFIG_{RUSTC,BINDGEN}_VERSION_TEXT
masahir0y Jul 27, 2024
f92ac10
cpu/SMT: Enable SMT only if a core is online
Jul 31, 2024
e9f27dd
powerpc/topology: Check if a core is online
Jul 31, 2024
74f9f1d
arm64: Fix KASAN random tag seed initialization
SiFiveHolland Aug 14, 2024
be55f92
block: Fix lockdep warning in blk_mq_mark_tag_wait
Aug 15, 2024
6c499f1
drm/msm: Reduce fallout of fence signaling vs reclaim hangs
robclark Nov 17, 2023
93ccd2b
memory: tegra: Skip SID programming if SID registers aren't set
ashishmhetre8 Nov 7, 2023
bc8ecb1
powerpc/xics: Check return value of kasprintf in icp_native_map_one_cpu
KunWuChan Nov 22, 2023
4c54bff
ASoC: SOF: ipc4: check return value of snd_sof_ipc_msg_data
bardliao Nov 29, 2023
94fa299
hwmon: (pc87360) Bounds check data->innr usage
kees Nov 30, 2023
8f4b73d
powerpc/pseries/papr-sysparm: Validate buffer object lengths
nathanlynch Dec 12, 2023
ab2e2e8
ionic: prevent pci disable of already disabled device
emusln Dec 11, 2023
f726fb3
ionic: no fw read when PCI reset failed
emusln Dec 11, 2023
365e53e
drm/rockchip: vop2: clear afbc en and transform bit for cluster windo…
Dec 11, 2023
ec702b5
evm: don't copy up 'security.evm' xattr
mimizohar Dec 12, 2023
8dadc6c
Bluetooth: hci_conn: Check non NULL function before calling for HFP o…
Dec 8, 2023
10a41ca
gfs2: Refcounting fix in gfs2_thaw_super
Dec 25, 2023
93fcd89
EDAC/skx_common: Filter out the invalid address
qzhuo2 Dec 7, 2023
914c844
nvmet-trace: avoid dereferencing pointer too early
igaw Dec 18, 2023
a875902
ext4: do not trim the group with corrupted block bitmap
LiBaokun96 Jan 4, 2024
1e9fa7e
btrfs: zlib: fix and simplify the inline extent decompression
adam900710 Jan 8, 2024
85dd98f
afs: fix __afs_break_callback() / afs_drop_open_mmap() race
Sep 30, 2023
dc83c5d
fuse: fix UAF in rcu pathwalks
Sep 28, 2023
fe6e53b
wifi: ath12k: Add missing qmi_txn_cancel() calls
Jan 11, 2024
0c1b573
quota: Remove BUG_ON from dqget()
jankara Oct 20, 2023
6c72a04
riscv: blacklist assembly symbols for kprobe
clementleger Oct 4, 2023
5d91774
kernfs: fix false-positive WARN(nr_mmapped) in kernfs_drain_open_files
neelnatu Jan 27, 2024
6eb1ed5
media: pci: cx23885: check cx23885_vdev_init() return
Oct 19, 2023
ecd035f
fs: binfmt_elf_efpic: don't use missing interpreter's properties
jcmvbkbc Jan 18, 2024
7a668e9
scsi: lpfc: Initialize status local variable in lpfc_sli4_repost_sgl_…
Jan 31, 2024
fd00cca
media: drivers/media/dvb-core: copy user arrays safely
Nov 2, 2023
fc4dbcc
wifi: iwlwifi: mvm: avoid garbage iPN
striebit Feb 5, 2024
75ef7b3
net/sun3_82586: Avoid reading past buffer in debug output
kees Feb 6, 2024
ab765eb
drm/lima: set gp bus_stop bit before hard reset
enunes Jan 24, 2024
a7a7661
gpio: sysfs: extend the critical section for unregistering sysfs devices
Jan 24, 2024
c316a25
hrtimer: Select housekeeping CPU during migration
makelinux Feb 22, 2024
2be66d2
virtiofs: forbid newlines in tags
stefanhaRH Feb 13, 2024
88ea686
accel/habanalabs: fix debugfs files permissions
avrikehat Jan 16, 2024
a2f29f3
clocksource/drivers/arm_global_timer: Guard against division by zero
xdarklight Feb 25, 2024
a6f8d78
tick: Move got_idle_tick away from common flags
Feb 25, 2024
5b86887
netlink: hold nlk->cb_mutex longer in __netlink_dump_start()
edumazet Feb 22, 2024
a0b40c7
md: clean up invalid BUG_ON in md_ioctl
Feb 26, 2024
4205f9c
x86: Increase brk randomness entropy for 64-bit systems
kees Feb 17, 2024
fa31db0
memory: stm32-fmc2-ebi: check regmap_read return value
Feb 26, 2024
a5db8c4
parisc: Use irq_enter_rcu() to fix warning at kernel/context_tracking…
hdeller Nov 28, 2023
6c9f04b
rxrpc: Don't pick values out of the wire header when setting up security
dhowells Jan 30, 2024
e0e50c0
f2fs: stop checkpoint when get a out-of-bounds segment
Feb 20, 2024
c1f328c
powerpc/boot: Handle allocation failure in simple_realloc()
Dec 19, 2022
06f5f51
powerpc/boot: Only free if realloc() succeeds
mpe Feb 29, 2024
9965d47
btrfs: delayed-inode: drop pointless BUG_ON in __btrfs_remove_delayed…
kdave Jan 20, 2024
85b8de8
btrfs: defrag: change BUG_ON to assertion in btrfs_defrag_leaves()
kdave Jan 19, 2024
82d34e2
btrfs: change BUG_ON to assertion when checking for delayed_node root
kdave Jan 20, 2024
64d68e2
btrfs: tests: allocate dummy fs_info and root in test_find_delalloc()
kdave Jan 29, 2024
2f541c4
btrfs: push errors up from add_async_extent()
kdave Jan 24, 2024
0ac2916
btrfs: handle invalid root reference found in may_destroy_subvol()
kdave Jan 24, 2024
71a8a36
btrfs: send: handle unexpected data in header buffer in begin_cmd()
kdave Feb 6, 2024
b117ea9
btrfs: send: handle unexpected inode in header process_recorded_refs()
kdave Feb 6, 2024
26b3f90
btrfs: change BUG_ON to assertion in tree_move_down()
kdave Feb 6, 2024
58fc262
btrfs: delete pointless BUG_ON check on quota root in btrfs_qgroup_ac…
kdave Feb 6, 2024
0086d2e
f2fs: fix to do sanity check in update_sit_entry
Feb 28, 2024
92e43f0
usb: gadget: fsl: Increase size of name buffer for endpoints
Feb 23, 2024
2ab8bef
nvme: clear caller pointer on identify failure
keithbusch Mar 6, 2024
df318f0
Bluetooth: bnep: Fix out-of-bound access
Vudentz Feb 28, 2024
1e8b774
firmware: cirrus: cs_dsp: Initialize debugfs_root to invalid
rfvirgil Mar 7, 2024
2c66e79
rtc: nct3018y: fix possible NULL dereference
alexandrebelloni Feb 29, 2024
b8b7eaa
net: hns3: add checking for vf id of mailbox
IronShen Mar 7, 2024
b5f5f49
nvmet-tcp: do not continue for invalid icreq
hreinecke Mar 8, 2024
95de0a7
NFS: avoid infinite loop in pnfs_update_layout.
neilbrown Feb 28, 2024
a37a004
openrisc: Call setup_memory() earlier in the init sequence
Feb 10, 2024
151a0dd
s390/iucv: fix receive buffer virtual vs physical address confusion
Feb 16, 2024
2f4f154
irqchip/renesas-rzg2l: Do not set TIEN and TINT source at the same time
bijudas Mar 18, 2024
c1ca747
clocksource: Make watchdog and suspend-timing multiplication overflow…
ahunter6 Mar 25, 2024
2fdccd3
platform/x86: lg-laptop: fix %s null argument warning
soyersoyer Apr 3, 2024
e5b35e8
usb: dwc3: core: Skip setting event buffers for host only controllers
Apr 20, 2024
e83cee0
irqchip/gic-v3-its: Remove BUG_ON in its_vpe_irq_domain_alloc
Apr 18, 2024
e734f0e
ext4: set the type of max_zeroout to unsigned int to avoid overflow
LiBaokun96 Mar 19, 2024
ee68f17
nvmet-rdma: fix possible bad dereference when freeing rsps
sagigrimberg May 8, 2024
0119831
selftests/bpf: Fix a few tests for GCC related warnings.
cupermir May 10, 2024
b9297e1
Revert "bpf, sockmap: Prevent lock inversion deadlock in map delete e…
jsitnicki May 27, 2024
53b70d1
nvme: use srcu for iterating namespace list
keithbusch May 21, 2024
727470b
drm/amdgpu: fix dereference null return value for the function amdgpu…
Jie1zhang May 23, 2024
a8ccce2
hrtimer: Prevent queuing of hrtimer without a function callback
Jun 10, 2024
5d966c0
ionic: use pci_is_enabled not open code
emusln Feb 16, 2024
7d993ff
ionic: check cmd_regs before copying in or out
emusln Feb 23, 2024
fb00db0
EDAC/skx_common: Allow decoding of SGX addresses
qzhuo2 Apr 8, 2024
75b63fa
nvme: fix namespace removal list
keithbusch Jun 13, 2024
f4b79c8
gtp: pull network headers in gtp_dev_xmit()
edumazet Aug 8, 2024
a0d5c64
jfs: define xtree root and page independently
kleikamp Oct 5, 2023
ed426d9
i2c: stm32f7: Add atomic_xfer method to driver
sknsean Aug 16, 2023
fb60473
riscv: entry: always initialize regs->a0 to -ENOSYS
CoelacanthusHex Jun 27, 2024
dff03b0
dm suspend: return -ERESTARTSYS instead of -EINTR
Aug 13, 2024
1e7ec42
mm: fix endless reclaim on machines with unaccepted memory
kiryl Aug 9, 2024
bcb5016
tools/testing/selftests/mm/run_vmtests.sh: lower the ptrace permissions
Oct 30, 2023
c8c4e1a
selftests/mm: log run_vmtests.sh results in TAP format
ryanhrob Dec 14, 2023
ff0af7e
selftests: memfd_secret: don't build memfd_secret test on unsupported…
Aug 9, 2024
b5f6179
change alloc_pages name in dma_map_ops to avoid name conflicts
surenbaghdasaryan Mar 21, 2024
57d6766
mm/vmalloc: fix page mapping if vm_area_alloc_pages() with high order…
hailong-liu Aug 8, 2024
0e015a8
btrfs: replace sb::s_blocksize by fs_info::sectorsize
kdave Jan 16, 2024
eb424ac
btrfs: send: allow cloning non-aligned extent if it ends at i_size
fdmanana Aug 12, 2024
b02ea1e
drm/amd/display: Adjust cursor position
Aug 1, 2024
550fe7d
drm/amd/display: Enable otg synchronization logic for DCN321
LoAnChen Aug 2, 2024
6858fb9
drm/amd/display: fix cursor offset on rotation 180
melissawen Jan 31, 2023
8b389fa
drm/amd/amdgpu: command submission parser for JPEG
davidwuAMD Aug 8, 2024
c6589d8
platform/surface: aggregator: Fix warning when controller is destroye…
qzed Aug 11, 2024
99620f3
ALSA: hda/tas2781: Use correct endian conversion
tiwai Aug 14, 2024
677f589
drm/amdkfd: reserve the BO before validating it
Jan 11, 2024
70bf029
Bluetooth: hci_core: Fix LE quote calculation
Vudentz Aug 12, 2024
1fe7c4d
Bluetooth: SMP: Fix assumption of Central always being Initiator
Vudentz Aug 30, 2023
b7d10de
net: mscc: ocelot: use ocelot_xmit_get_vlan_info() also for FDMA and …
vladimiroltean Aug 15, 2024
ad5b133
net: mscc: ocelot: fix QoS class for injected packets with "ocelot-80…
vladimiroltean Aug 15, 2024
8d7ce82
net: mscc: ocelot: serialize access to the injection/extraction groups
vladimiroltean Aug 15, 2024
eccb8ec
tc-testing: don't access non-existent variable on exception
horms Aug 15, 2024
b2c4ab8
selftests: udpgro: report error when receive failed
liuhangbin Aug 15, 2024
53d7f63
tcp/dccp: bypass empty buckets in inet_twsk_purge()
edumazet Mar 27, 2024
c0c1fb6
tcp/dccp: do not care about families in inet_twsk_purge()
edumazet Mar 29, 2024
f40d9df
tcp: prevent concurrent execution of tcp_sk_exit_batch
Aug 12, 2024
341847b
net: mctp: test: Use correct skb for route input check
jk-ozlabs Aug 16, 2024
e5aedc9
kcm: Serialise kcm_sendmsg() for the same socket.
q2ven Aug 15, 2024
fb0bc75
netfilter: nft_counter: Disable BH in nft_counter_offload_stats().
Aug 20, 2024
ec0fe1d
netfilter: nft_counter: Synchronize nft_counter_reset() against reader.
Aug 20, 2024
f2e36a7
ip6_tunnel: Fix broken GRO
Aug 15, 2024
82b276e
bonding: fix bond_ipsec_offload_ok return type
NikAleksandrov Aug 16, 2024
640184a
bonding: fix null pointer deref in bond_ipsec_offload_ok
NikAleksandrov Aug 16, 2024
ce7d2d5
bonding: fix xfrm real_dev null pointer dereference
NikAleksandrov Aug 16, 2024
37af6f4
bonding: fix xfrm state handling when clearing active slave
NikAleksandrov Aug 16, 2024
b499e1c
ice: fix page reuse when PAGE_SIZE is over 8k
mfijalko Aug 7, 2024
b485889
ice: fix ICE_LAST_OFFSET formula
mfijalko Aug 7, 2024
676c2bd
ice: fix truesize operations for PAGE_SIZE >= 8192
mfijalko Aug 7, 2024
3182972
dpaa2-switch: Fix error checking in dpaa2_switch_seed_bp()
Aug 17, 2024
26cccb2
igb: cope with large MAX_SKB_FRAGS
Aug 16, 2024
e070472
net: dsa: mv88e6xxx: Fix out-of-bound access
Aug 19, 2024
d4a4528
netem: fix return value if duplicate enqueue fails
shemminger Aug 19, 2024
6bacd92
udp: fix receiving fraglist GSO packets
nbd168 Aug 19, 2024
b83f152
ipv6: prevent UAF in ip6_send_skb()
edumazet Aug 20, 2024
1745496
ipv6: fix possible UAF in ip6_finish_output2()
edumazet Aug 20, 2024
daeaf5a
ipv6: prevent possible UAF in ip6_xmit()
edumazet Aug 20, 2024
c57158e
bnxt_en: Fix double DMA unmapping for XDP_REDIRECT
skotur-brcm Aug 20, 2024
e81d387
netfilter: flowtable: validate vlan header
ummakynes Aug 13, 2024
cbf8c4e
octeontx2-af: Fix CPT AF register offset calculation
Aug 21, 2024
281f1f9
net: xilinx: axienet: Always disable promiscuous mode
Aug 22, 2024
332b59e
net: xilinx: axienet: Fix dangling multicast addresses
Aug 22, 2024
57d6795
net: ovs: fix ovs_drop_reasons error
image-dragon Aug 21, 2024
8e4d791
drm/msm/dpu: don't play tricks with debug macros
lumag Aug 2, 2024
ea15f6b
drm/msm/dp: fix the max supported bpp logic
Aug 5, 2024
51f7d29
drm/msm/dpu: use drmm-managed allocation for dpu_encoder_phys
lumag Dec 1, 2023
ce8df52
drm/msm/dpu: drop MSM_ENC_VBLANK support
lumag Oct 4, 2023
73b97b2
drm/msm/dpu: split dpu_encoder_wait_for_event into two functions
lumag Feb 26, 2024
a941966
drm/msm/dpu: capture snapshot on the first commit_done timeout
lumag Feb 26, 2024
0b1ac83
drm/msm/dpu: move dpu_encoder's connector assignment to atomic_enable()
Jul 31, 2024
ab014c1
drm/msm/dp: reset the link phy params before link training
Jul 25, 2024
96a1e4d
drm/msm/dpu: cleanup FB if dpu_format_populate_layout fails
lumag Jun 24, 2024
17511c6
drm/msm/dpu: try multirect based on mdp clock limits
Sep 11, 2023
80637e7
drm/msm/dpu: take plane rotation into account for wide planes
lumag Jun 26, 2024
9c5e844
drm/msm/mdss: switch mdss to use devm_of_icc_get()
lumag Dec 2, 2023
7e3f58d
drm/msm/mdss: Rename path references to mdp_path
konradybcio Dec 2, 2023
d90705b
drm/msm/mdss: Handle the reg bus ICC path
lumag Dec 2, 2023
0368efd
drm/msm: fix the highest_bank_bit for sc7180
Aug 8, 2024
8140236
mmc: mmc_test: Fix NULL dereference on allocation failure
Aug 20, 2024
27f11b5
smb: client: ignore unhandled reparse tags
Aug 21, 2024
f491713
Bluetooth: MGMT: Add error handling to pair_device()
griffinkh Aug 15, 2024
7a3e455
scsi: core: Fix the return value of scsi_logical_block_count()
ChaotianJing Aug 13, 2024
67d459e
ksmbd: the buffer of smb2 query dir response has at least 1 byte
namjaejeon Aug 20, 2024
e7d192e
drm/amdgpu: Validate TA binary size
candicelicy Aug 15, 2024
1bfa24a
net: dsa: microchip: fix PTP config failure when using multiple ports
martinwhitaker Aug 17, 2024
0e151a9
MIPS: Loongson64: Set timer mode in cpu-probe
FlyGoat Jul 23, 2024
cce0191
HID: wacom: Defer calculation of resolution until resolution_code is …
jigpu Jul 30, 2024
434f919
Input: i8042 - add forcenorestore quirk to leave controller untouched…
tuxedo-wse Jan 4, 2024
b4eac7f
Input: i8042 - use new forcenorestore quirk to replace old buggy quir…
tuxedo-wse Jan 4, 2024
4202875
cxgb4: add forgotten u64 ivlan cast before shift
Aug 19, 2024
b7b0932
KVM: arm64: Make ICC_*SGI*_EL1 undef in the absence of a vGICv3
Aug 20, 2024
960bc63
mmc: mtk-sd: receive cmd8 data when hs400 tuning fail
Jul 16, 2024
55d7af2
mmc: dw_mmc: allow biu and ciu clocks to defer
BWhitten Aug 11, 2024
cc6e8ea
pmdomain: imx: scu-pd: Remove duplicated clocks
tq-steina Jul 17, 2024
f095421
pmdomain: imx: wait SSAR when i.MX93 power domain on
MrVan Aug 14, 2024
d61b975
mptcp: pm: re-using ID of unused removed ADD_ADDR
matttbe Aug 19, 2024
bf2ec08
mptcp: pm: re-using ID of unused removed subflows
matttbe Aug 19, 2024
6b85ad0
mptcp: pm: re-using ID of unused flushed subflows
matttbe Aug 19, 2024
d5c97fd
mptcp: pm: remove mptcp_pm_remove_subflow()
matttbe Aug 19, 2024
dbe8cf3
mptcp: pm: only mark 'subflow' endp as available
matttbe Aug 19, 2024
3fcabec
mptcp: pm: only decrement add_addr_accepted for MPJ req
matttbe Aug 19, 2024
687ac9c
mptcp: pm: check add_addr_accept_max before accepting new ADD_ADDR
matttbe Aug 19, 2024
0e61790
mptcp: pm: only in-kernel cannot have entries with ID 0
matttbe Aug 19, 2024
8664be1
mptcp: pm: fullmesh: select the right ID later
matttbe Aug 19, 2024
282f7a1
mptcp: pm: avoid possible UaF when selecting endp
matttbe Aug 19, 2024
5904cbd
selftests: mptcp: join: validate fullmesh endp on 1st sf
matttbe Aug 19, 2024
7e0afc7
selftests: mptcp: join: check re-using ID of closed subflow
matttbe Aug 19, 2024
ff72fd7
Revert "usb: gadget: uvc: cleanup request when not in correct state"
gregkh Oct 5, 2023
6d20c7f
Revert "drm/amd/display: Validate hw_points_num before using it"
Oct 11, 2023
c0cadff
platform/x86/intel/ifs: Call release_firmware() when handling errors.
jithu83 Jan 25, 2024
b247c33
tcp: do not export tcp_twsk_purge()
edumazet Apr 19, 2024
2432e62
hwmon: (ltc2992) Fix memory leak in ltc2992_parse_dt()
javiercarrascocruz May 23, 2024
abadf75
drm/msm/mdss: specify cfg bandwidth for SDM670
lumag Dec 15, 2023
8752a70
drm/panel: nt36523: Set 120Hz fps for xiaomi,elish panels
lujianhua Jan 12, 2024
09a06df
igc: Fix qbv tx latency by setting gtxoffset
Jul 7, 2024
796e47a
ALSA: timer: Relax start tick time check for slave timer elements
tiwai Aug 10, 2024
a967a60
mm/numa: no task_numa_fault() call if PMD is changed
x-y-z Aug 9, 2024
fc2e6a4
mm/numa: no task_numa_fault() call if PTE is changed
x-y-z Aug 9, 2024
f9e7cad
bpf: Fix a kernel verifier crash in stacksafe()
Aug 12, 2024
b7d2f90
selftests/bpf: Add a test to verify previous stacksafe() fix
Aug 12, 2024
8ad9dc3
NFSD: simplify error paths in nfsd_svc()
neilbrown Sep 25, 2023
8cd58fb
drm/amdgpu/vcn: identify unified queue in sw init
Boyz-Radeon Jul 11, 2024
0ab7382
drm/amdgpu/vcn: not pause dpg for unified queue
Boyz-Radeon Jul 10, 2024
2e71b32
ksmbd: fix race condition between destroy_previous_session() and smb2…
namjaejeon Aug 27, 2024
3dbf250
net: ngbe: Fix phy mode set to external phy
Aug 20, 2024
4c680ba
Revert "s390/dasd: Establish DMA alignment"
hoeppnerj Aug 20, 2024
ff5825f
Input: MT - limit max slots
Jul 29, 2024
a4c0e08
tools: move alignment-related macros to new <linux/align.h>
alobakin Mar 27, 2024
79503ee
Linux 6.6.48
gregkh Aug 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion Documentation/ABI/testing/sysfs-devices-system-cpu
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,8 @@ Description: Control Symmetric Multi Threading (SMT)
================ =========================================

If control status is "forceoff" or "notsupported" writes
are rejected.
are rejected. Note that enabling SMT on PowerPC skips
offline cores.

What: /sys/devices/system/cpu/cpuX/power/energy_perf_bias
Date: March 2019
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 6
PATCHLEVEL = 6
SUBLEVEL = 47
SUBLEVEL = 48
EXTRAVERSION =
NAME = Hurr durr I'ma ninja sloth

Expand Down
2 changes: 1 addition & 1 deletion arch/alpha/kernel/pci_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ const struct dma_map_ops alpha_pci_ops = {
.dma_supported = alpha_pci_supported,
.mmap = dma_common_mmap,
.get_sgtable = dma_common_get_sgtable,
.alloc_pages = dma_common_alloc_pages,
.alloc_pages_op = dma_common_alloc_pages,
.free_pages = dma_common_free_pages,
};
EXPORT_SYMBOL(alpha_pci_ops);
2 changes: 1 addition & 1 deletion arch/arm64/kernel/acpi_numa.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

#include <asm/numa.h>

static int acpi_early_node_map[NR_CPUS] __initdata = { NUMA_NO_NODE };
static int acpi_early_node_map[NR_CPUS] __initdata = { [0 ... NR_CPUS - 1] = NUMA_NO_NODE };

int __init acpi_numa_get_nid(unsigned int cpu)
{
Expand Down
3 changes: 0 additions & 3 deletions arch/arm64/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -371,9 +371,6 @@ void __init __no_sanitize_address setup_arch(char **cmdline_p)
smp_init_cpus();
smp_build_mpidr_hash();

/* Init percpu seeds for random tags after cpus are set up. */
kasan_init_sw_tags();

#ifdef CONFIG_ARM64_SW_TTBR0_PAN
/*
* Make sure init_thread_info.ttbr0 always generates translation
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,8 @@ void __init smp_prepare_boot_cpu(void)
init_gic_priority_masking();

kasan_init_hw_tags();
/* Init percpu seeds for random tags after cpus are set up. */
kasan_init_sw_tags();
}

/*
Expand Down
6 changes: 6 additions & 0 deletions arch/arm64/kvm/sys_regs.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <trace/events/kvm.h>

#include "sys_regs.h"
#include "vgic/vgic.h"

#include "trace.h"

Expand Down Expand Up @@ -301,6 +302,11 @@ static bool access_gic_sgi(struct kvm_vcpu *vcpu,
{
bool g1;

if (!kvm_has_gicv3(vcpu->kvm)) {
kvm_inject_undefined(vcpu);
return false;
}

if (!p->is_write)
return read_from_write_only(vcpu, p, r);

Expand Down
7 changes: 7 additions & 0 deletions arch/arm64/kvm/vgic/vgic.h
Original file line number Diff line number Diff line change
Expand Up @@ -343,4 +343,11 @@ void vgic_v4_configure_vsgis(struct kvm *kvm);
void vgic_v4_get_vlpi_state(struct vgic_irq *irq, bool *val);
int vgic_v4_request_vpe_irq(struct kvm_vcpu *vcpu, int irq);

static inline bool kvm_has_gicv3(struct kvm *kvm)
{
return (static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif) &&
irqchip_in_kernel(kvm) &&
kvm->arch.vgic.vgic_model == KVM_DEV_TYPE_ARM_VGIC_V3);
}

#endif
2 changes: 1 addition & 1 deletion arch/mips/jazz/jazzdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ const struct dma_map_ops jazz_dma_ops = {
.sync_sg_for_device = jazz_dma_sync_sg_for_device,
.mmap = dma_common_mmap,
.get_sgtable = dma_common_get_sgtable,
.alloc_pages = dma_common_alloc_pages,
.alloc_pages_op = dma_common_alloc_pages,
.free_pages = dma_common_free_pages,
};
EXPORT_SYMBOL(jazz_dma_ops);
4 changes: 4 additions & 0 deletions arch/mips/kernel/cpu-probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -1725,12 +1725,16 @@ static inline void cpu_probe_loongson(struct cpuinfo_mips *c, unsigned int cpu)
c->ases |= (MIPS_ASE_LOONGSON_MMI | MIPS_ASE_LOONGSON_CAM |
MIPS_ASE_LOONGSON_EXT | MIPS_ASE_LOONGSON_EXT2);
c->ases &= ~MIPS_ASE_VZ; /* VZ of Loongson-3A2000/3000 is incomplete */
change_c0_config6(LOONGSON_CONF6_EXTIMER | LOONGSON_CONF6_INTIMER,
LOONGSON_CONF6_INTIMER);
break;
case PRID_IMP_LOONGSON_64G:
__cpu_name[cpu] = "ICT Loongson-3";
set_elf_platform(cpu, "loongson3a");
set_isa(c, MIPS_CPU_ISA_M64R2);
decode_cpucfg(c);
change_c0_config6(LOONGSON_CONF6_EXTIMER | LOONGSON_CONF6_INTIMER,
LOONGSON_CONF6_INTIMER);
break;
default:
panic("Unknown Loongson Processor ID!");
Expand Down
6 changes: 3 additions & 3 deletions arch/openrisc/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@ void calibrate_delay(void)

void __init setup_arch(char **cmdline_p)
{
/* setup memblock allocator */
setup_memory();

unflatten_and_copy_device_tree();

setup_cpuinfo();
Expand All @@ -278,9 +281,6 @@ void __init setup_arch(char **cmdline_p)
}
#endif

/* setup memblock allocator */
setup_memory();

/* paging_init() sets up the MMU and marks all pages as reserved */
paging_init();

Expand Down
4 changes: 2 additions & 2 deletions arch/parisc/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ asmlinkage void do_cpu_irq_mask(struct pt_regs *regs)

old_regs = set_irq_regs(regs);
local_irq_disable();
irq_enter();
irq_enter_rcu();

eirr_val = mfctl(23) & cpu_eiem & per_cpu(local_ack_eiem, cpu);
if (!eirr_val)
Expand Down Expand Up @@ -533,7 +533,7 @@ asmlinkage void do_cpu_irq_mask(struct pt_regs *regs)
#endif /* CONFIG_IRQSTACKS */

out:
irq_exit();
irq_exit_rcu();
set_irq_regs(old_regs);
return;

Expand Down
7 changes: 5 additions & 2 deletions arch/powerpc/boot/simple_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,11 @@ static void *simple_realloc(void *ptr, unsigned long size)
return ptr;

new = simple_malloc(size);
memcpy(new, ptr, p->size);
simple_free(ptr);
if (new) {
memcpy(new, ptr, p->size);
simple_free(ptr);
}

return new;
}

Expand Down
13 changes: 13 additions & 0 deletions arch/powerpc/include/asm/topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ static inline int cpu_to_coregroup_id(int cpu)

#ifdef CONFIG_HOTPLUG_SMT
#include <linux/cpu_smt.h>
#include <linux/cpumask.h>
#include <asm/cputhreads.h>

static inline bool topology_is_primary_thread(unsigned int cpu)
Expand All @@ -156,6 +157,18 @@ static inline bool topology_smt_thread_allowed(unsigned int cpu)
{
return cpu_thread_in_core(cpu) < cpu_smt_num_threads;
}

#define topology_is_core_online topology_is_core_online
static inline bool topology_is_core_online(unsigned int cpu)
{
int i, first_cpu = cpu_first_thread_sibling(cpu);

for (i = first_cpu; i < first_cpu + threads_per_core; ++i) {
if (cpu_online(i))
return true;
}
return false;
}
#endif

#endif /* __KERNEL__ */
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/kernel/dma-iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,6 @@ const struct dma_map_ops dma_iommu_ops = {
.get_required_mask = dma_iommu_get_required_mask,
.mmap = dma_common_mmap,
.get_sgtable = dma_common_get_sgtable,
.alloc_pages = dma_common_alloc_pages,
.alloc_pages_op = dma_common_alloc_pages,
.free_pages = dma_common_free_pages,
};
4 changes: 2 additions & 2 deletions arch/powerpc/platforms/ps3/system-bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ static const struct dma_map_ops ps3_sb_dma_ops = {
.unmap_page = ps3_unmap_page,
.mmap = dma_common_mmap,
.get_sgtable = dma_common_get_sgtable,
.alloc_pages = dma_common_alloc_pages,
.alloc_pages_op = dma_common_alloc_pages,
.free_pages = dma_common_free_pages,
};

Expand All @@ -709,7 +709,7 @@ static const struct dma_map_ops ps3_ioc0_dma_ops = {
.unmap_page = ps3_unmap_page,
.mmap = dma_common_mmap,
.get_sgtable = dma_common_get_sgtable,
.alloc_pages = dma_common_alloc_pages,
.alloc_pages_op = dma_common_alloc_pages,
.free_pages = dma_common_free_pages,
};

Expand Down
47 changes: 47 additions & 0 deletions arch/powerpc/platforms/pseries/papr-sysparm.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,46 @@ void papr_sysparm_buf_free(struct papr_sysparm_buf *buf)
kfree(buf);
}

static size_t papr_sysparm_buf_get_length(const struct papr_sysparm_buf *buf)
{
return be16_to_cpu(buf->len);
}

static void papr_sysparm_buf_set_length(struct papr_sysparm_buf *buf, size_t length)
{
WARN_ONCE(length > sizeof(buf->val),
"bogus length %zu, clamping to safe value", length);
length = min(sizeof(buf->val), length);
buf->len = cpu_to_be16(length);
}

/*
* For use on buffers returned from ibm,get-system-parameter before
* returning them to callers. Ensures the encoded length of valid data
* cannot overrun buf->val[].
*/
static void papr_sysparm_buf_clamp_length(struct papr_sysparm_buf *buf)
{
papr_sysparm_buf_set_length(buf, papr_sysparm_buf_get_length(buf));
}

/*
* Perform some basic diligence on the system parameter buffer before
* submitting it to RTAS.
*/
static bool papr_sysparm_buf_can_submit(const struct papr_sysparm_buf *buf)
{
/*
* Firmware ought to reject buffer lengths that exceed the
* maximum specified in PAPR, but there's no reason for the
* kernel to allow them either.
*/
if (papr_sysparm_buf_get_length(buf) > sizeof(buf->val))
return false;

return true;
}

/**
* papr_sysparm_get() - Retrieve the value of a PAPR system parameter.
* @param: PAPR system parameter token as described in
Expand Down Expand Up @@ -63,6 +103,9 @@ int papr_sysparm_get(papr_sysparm_t param, struct papr_sysparm_buf *buf)
if (token == RTAS_UNKNOWN_SERVICE)
return -ENOENT;

if (!papr_sysparm_buf_can_submit(buf))
return -EINVAL;

work_area = rtas_work_area_alloc(sizeof(*buf));

memcpy(rtas_work_area_raw_buf(work_area), buf, sizeof(*buf));
Expand All @@ -77,6 +120,7 @@ int papr_sysparm_get(papr_sysparm_t param, struct papr_sysparm_buf *buf)
case 0:
ret = 0;
memcpy(buf, rtas_work_area_raw_buf(work_area), sizeof(*buf));
papr_sysparm_buf_clamp_length(buf);
break;
case -3: /* parameter not implemented */
ret = -EOPNOTSUPP;
Expand Down Expand Up @@ -115,6 +159,9 @@ int papr_sysparm_set(papr_sysparm_t param, const struct papr_sysparm_buf *buf)
if (token == RTAS_UNKNOWN_SERVICE)
return -ENOENT;

if (!papr_sysparm_buf_can_submit(buf))
return -EINVAL;

work_area = rtas_work_area_alloc(sizeof(*buf));

memcpy(rtas_work_area_raw_buf(work_area), buf, sizeof(*buf));
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/pseries/vio.c
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ static const struct dma_map_ops vio_dma_mapping_ops = {
.get_required_mask = dma_iommu_get_required_mask,
.mmap = dma_common_mmap,
.get_sgtable = dma_common_get_sgtable,
.alloc_pages = dma_common_alloc_pages,
.alloc_pages_op = dma_common_alloc_pages,
.free_pages = dma_common_free_pages,
};

Expand Down
2 changes: 2 additions & 0 deletions arch/powerpc/sysdev/xics/icp-native.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ static int __init icp_native_map_one_cpu(int hw_id, unsigned long addr,
rname = kasprintf(GFP_KERNEL, "CPU %d [0x%x] Interrupt Presentation",
cpu, hw_id);

if (!rname)
return -ENOMEM;
if (!request_mem_region(addr, size, rname)) {
pr_warn("icp_native: Could not reserve ICP MMIO for CPU %d, interrupt server #0x%x\n",
cpu, hw_id);
Expand Down
10 changes: 10 additions & 0 deletions arch/riscv/include/asm/asm.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,16 @@
REG_L x31, PT_T6(sp)
.endm

/* Annotate a function as being unsuitable for kprobes. */
#ifdef CONFIG_KPROBES
#define ASM_NOKPROBE(name) \
.pushsection "_kprobe_blacklist", "aw"; \
RISCV_PTR name; \
.popsection
#else
#define ASM_NOKPROBE(name)
#endif

#endif /* __ASSEMBLY__ */

#endif /* _ASM_RISCV_ASM_H */
3 changes: 3 additions & 0 deletions arch/riscv/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ _save_context:
1:
tail do_trap_unknown
SYM_CODE_END(handle_exception)
ASM_NOKPROBE(handle_exception)

/*
* The ret_from_exception must be called with interrupt disabled. Here is the
Expand Down Expand Up @@ -171,6 +172,7 @@ SYM_CODE_START_NOALIGN(ret_from_exception)
sret
#endif
SYM_CODE_END(ret_from_exception)
ASM_NOKPROBE(ret_from_exception)

#ifdef CONFIG_VMAP_STACK
SYM_CODE_START_LOCAL(handle_kernel_stack_overflow)
Expand Down Expand Up @@ -206,6 +208,7 @@ SYM_CODE_START_LOCAL(handle_kernel_stack_overflow)
move a0, sp
tail handle_bad_stack
SYM_CODE_END(handle_kernel_stack_overflow)
ASM_NOKPROBE(handle_kernel_stack_overflow)
#endif

SYM_CODE_START(ret_from_fork)
Expand Down
3 changes: 1 addition & 2 deletions arch/riscv/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -311,15 +311,14 @@ asmlinkage __visible __trap_section void do_trap_ecall_u(struct pt_regs *regs)

regs->epc += 4;
regs->orig_a0 = regs->a0;
regs->a0 = -ENOSYS;

riscv_v_vstate_discard(regs);

syscall = syscall_enter_from_user_mode(regs, syscall);

if (syscall >= 0 && syscall < NR_syscalls)
syscall_handler(regs, syscall);
else if (syscall != -1)
regs->a0 = -ENOSYS;

syscall_exit_to_user_mode(regs);
} else {
Expand Down
4 changes: 2 additions & 2 deletions arch/riscv/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ static void __init create_kernel_page_table(pgd_t *pgdir,
PMD_SIZE, PAGE_KERNEL_EXEC);

/* Map the data in RAM */
end_va = kernel_map.virt_addr + XIP_OFFSET + kernel_map.size;
end_va = kernel_map.virt_addr + kernel_map.size;
for (va = kernel_map.virt_addr + XIP_OFFSET; va < end_va; va += PMD_SIZE)
create_pgd_mapping(pgdir, va,
kernel_map.phys_addr + (va - (kernel_map.virt_addr + XIP_OFFSET)),
Expand Down Expand Up @@ -1081,7 +1081,7 @@ asmlinkage void __init setup_vm(uintptr_t dtb_pa)

phys_ram_base = CONFIG_PHYS_RAM_BASE;
kernel_map.phys_addr = (uintptr_t)CONFIG_PHYS_RAM_BASE;
kernel_map.size = (uintptr_t)(&_end) - (uintptr_t)(&_sdata);
kernel_map.size = (uintptr_t)(&_end) - (uintptr_t)(&_start);

kernel_map.va_kernel_xip_pa_offset = kernel_map.virt_addr - kernel_map.xiprom;
#else
Expand Down
5 changes: 4 additions & 1 deletion arch/s390/include/asm/uv.h
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,10 @@ static inline int share(unsigned long addr, u16 cmd)

if (!uv_call(0, (u64)&uvcb))
return 0;
return -EINVAL;
pr_err("%s UVC failed (rc: 0x%x, rrc: 0x%x), possible hypervisor bug.\n",
uvcb.header.cmd == UVC_CMD_SET_SHARED_ACCESS ? "Share" : "Unshare",
uvcb.header.rc, uvcb.header.rrc);
panic("System security cannot be guaranteed unless the system panics now.\n");
}

/*
Expand Down
Loading