Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1574 commits
Select commit Hold shift + click to select a range
3223a80
Bluetooth: SCO: Replace use of memcpy_from_msg with bt_skb_sendmsg
Vudentz Sep 3, 2021
d4f53ca
Bluetooth: RFCOMM: Replace use of memcpy_from_msg with bt_skb_sendmmsg
Vudentz Sep 3, 2021
7b92487
Bluetooth: Fix passing NULL to PTR_ERR
Vudentz Sep 16, 2021
edc1611
Bluetooth: SCO: Fix sco_send_frame returning skb->len
Vudentz Sep 16, 2021
7216469
Bluetooth: Fix bt_skb_sendmmsg not allocating partial chunks
Vudentz Feb 15, 2022
b50a820
tty: drivers/tty/, stop using tty_schedule_flip()
Nov 22, 2021
b1d1c30
tty: the rest, stop using tty_schedule_flip()
Nov 22, 2021
399df16
tty: drop tty_schedule_flip()
Nov 22, 2021
29304c4
tty: extract tty_flip_buffer_commit() from tty_flip_buffer_push()
Jul 7, 2022
e9274a2
tty: use new tty_insert_flip_string_and_push_buffer() in pty_write()
Jul 7, 2022
631b2b7
net: usb: ax88179_178a needs FLAG_SEND_ZLP
j-alonso Jun 13, 2022
13c9334
PCI: hv: Fix multi-MSI to allow more than one MSI vector
quic-jhugo Jul 25, 2022
3b57d50
PCI: hv: Fix hv_arch_irq_unmask() for multi-MSI
quic-jhugo Jul 25, 2022
aeb918b
PCI: hv: Reuse existing IRTE allocation in compose_msi_msg()
quic-jhugo Jul 25, 2022
7f7939e
PCI: hv: Fix interrupt mapping for multi-MSI
quic-jhugo Jul 25, 2022
b641242
Linux 4.14.290
gregkh Jul 29, 2022
5bb3953
Bluetooth: L2CAP: Fix use-after-free caused by l2cap_chan_put
Vudentz Jul 21, 2022
12f301c
ntfs: fix use-after-free in ntfs_ucsncmp()
Jul 7, 2022
fd174ec
s390/archrandom: prevent CPACF trng invocations in interrupt context
hfreude Jul 13, 2022
d810212
scsi: ufs: host: Hold reference returned by of_parse_phandle()
windhl Jul 19, 2022
dee475f
net: ping6: Fix memleak in ipv6_renew_options().
q2ven Jul 28, 2022
23a925c
net: sungem_phy: Add of_node_put() for reference returned by of_get_p…
windhl Jul 20, 2022
83636c6
netfilter: nf_queue: do not allow packet truncation below transport h…
Jul 26, 2022
90b3c3c
ARM: crypto: comment out gcc warning that breaks clang builds
gregkh Jul 31, 2022
569294b
mt7601u: add USB device ID for some versions of XiaoDu WiFi Dongle.
weimzh Jun 18, 2021
b04a537
ACPI: video: Force backlight native for some TongFang devices
tuxedo-wse Jul 7, 2022
b0e034f
ACPI: video: Shortening quirk list by identifying Clevo by board_name…
tuxedo-wse Jul 7, 2022
00acc94
macintosh/adb: fix oob read in do_adb_query() function
sohu0106 Jul 13, 2022
7f613d2
Makefile: link with -z noexecstack --no-warn-rwx-segments
nickdesaulniers Aug 10, 2022
9d9fc74
x86: link vdso and boot with -z noexecstack --no-warn-rwx-segments
nickdesaulniers Aug 10, 2022
4fc41f7
ALSA: bcd2000: Fix a UAF bug on the error path of probing
ZheyuMa Jul 15, 2022
484f848
add barriers to buffer_uptodate and set_buffer_uptodate
Aug 9, 2022
6331290
HID: wacom: Don't register pad_input for touch switch
Pinglinux May 13, 2022
6fcbab8
KVM: SVM: Don't BUG if userspace injects an interrupt with GIF=0
maciejsszmigiero May 1, 2022
d651c3a
KVM: x86: Mark TSS busy during LTR emulation _after_ all fault checks
sean-jc Jul 11, 2022
74cb3e6
KVM: x86: Set error code to segment selector on LLDT/LTR non-canonica…
sean-jc Jul 11, 2022
6e4a988
ALSA: hda/conexant: Add quirk for LENOVO 20149 Notebook model
imtangmeng Aug 8, 2022
f0d877f
ALSA: hda/cirrus - support for iMac 12,1 model
Aug 10, 2022
2a12f77
vfs: Check the truncate maximum size in inode_newsize_ok()
dhowells Aug 8, 2022
e247a9e
fs: Add missing umask strip in vfs_tmpfile
xuyang0410 Jul 14, 2022
e2a521a
usbnet: Fix linkwatch use-after-free on disconnect
l1k Jun 23, 2022
d6f6d01
parisc: Fix device names in /proc/iomem
hdeller Jul 18, 2022
7f2433e
drm/nouveau: fix another off-by-one in nvbios_addr
ttabi May 11, 2022
cfe6d4e
drm/amdgpu: Check BO's requested pinning domains against its preferre…
leo-sunli1 Jul 12, 2022
ca63d5a
iio: light: isl29028: Fix the warning in isl29028_remove()
ZheyuMa Jul 17, 2022
f41d150
fuse: limit nsec
Jul 21, 2022
bcbdc26
md-raid10: fix KASAN warning
Jul 26, 2022
7a58ec0
ia64, processor: fix -Wincompatible-pointer-types in ia64_get_irr()
alobakin Jun 24, 2022
c1429f8
PCI: Add defines for normal and subtractive PCI bridges
pali Feb 14, 2022
3148361
powerpc/fsl-pci: Fix Class Code of PCIe Root Port
pali Jul 6, 2022
4133c53
powerpc/powernv: Avoid crashing if rng is NULL
mpe Jul 27, 2022
98aaa51
MIPS: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
chenhuacai Jul 14, 2022
c8a002d
USB: HCD: Fix URB giveback issue in tasklet function
Jul 26, 2022
49d57fb
netfilter: nf_tables: fix null deref due to zeroed list head
Aug 9, 2022
864b9eb
arm64: Do not forget syscall when starting a new thread.
eiffel-fl Jun 8, 2022
9d5fec6
arm64: fix oops in concurrently setting insn_emulation sysctls
Jul 2, 2022
0bcdc31
ext2: Add more validity checks for inode counts
jankara Jul 26, 2022
31753ba
ARM: dts: imx6ul: add missing properties for sram
tq-steina Jun 13, 2022
becee48
ARM: dts: imx6ul: fix qspi node compatible
tq-steina Jun 13, 2022
bdbdf69
ARM: OMAP2+: display: Fix refcount leak bug
windhl Jun 17, 2022
bfbcbb6
ACPI: PM: save NVS memory for Lenovo G40-45
Manyi-Li Jun 22, 2022
15583c7
ACPI: LPSS: Fix missing check in register_device_clock()
fshh520 Jun 23, 2022
8c90947
PM: hibernate: defer device probing when resuming from hibernation
Jul 15, 2022
2dabe6a
selinux: Add boundary check in put_entry()
Jun 14, 2022
853d0d9
ARM: findbit: fix overflowing offset
Jul 26, 2022
62d719d
ARM: bcm: Fix refcount leak in bcm_kona_smc_init
Yuuoniy May 26, 2022
1449816
x86/pmem: Fix platform-device leak in error path
jhovold Jun 20, 2022
c5c35e8
ARM: dts: ast2500-evb: fix board compatible
krzk May 29, 2022
baf669d
soc: fsl: guts: machine variable might be unset
mwalle Apr 4, 2022
f52c9be
cpufreq: zynq: Fix refcount leak in zynq_get_revision
Yuuoniy Jun 5, 2022
9b1f220
ARM: dts: qcom: pm8841: add required thermal-sensor-cells
krzk Jun 8, 2022
372d735
arm64: dts: qcom: msm8916: Fix typo in pronto remoteproc node
SirSireesh May 26, 2022
a23098c
regulator: of: Fix refcount leak bug in of_get_regulation_constraints()
windhl Jul 15, 2022
f26a946
thermal/tools/tmon: Include pthread and time headers in tmon.h
Jul 18, 2022
980c3d9
dm: return early from dm_pr_call() if DM device is suspended
Jul 22, 2022
ea73869
drm/radeon: fix potential buffer overflow in ni_set_mc_special_regist…
akodanev Jun 6, 2022
c323dfd
drm/mediatek: Add pull-down MIPI operation in mtk_dsi_poweroff function
panghu-xinlei May 20, 2022
e6412ba
i2c: Fix a potential use after free
ISCAS-Vulab Dec 27, 2019
62bc1ea
ath9k: fix use-after-free in ath9k_hif_usb_rx_cb
pskrgag Jun 13, 2022
f59e753
wifi: iwlegacy: 4965: fix potential off-by-one overflow in il4965_rs_…
akodanev Jun 8, 2022
736abe0
drm: bridge: adv7511: Add check for mipi_dsi_driver_register
JiangJias Jun 2, 2022
386e943
media: hdpvr: fix error value returns in hdpvr_read
ndossche Jun 14, 2022
2a3bf0f
drm/vc4: dsi: Correct DSI divider calculations
6by9 Jun 13, 2022
d5c6030
drm/rockchip: vop: Don't crash for invalid duplicate_state()
computersforpeace Jun 18, 2022
966a032
drm/mediatek: dpi: Remove output format of YUV
mtk-rex-bc-chen Jul 1, 2022
87d8b15
drm: bridge: sii8620: fix possible off-by-one
HBh25Y May 18, 2022
0fb7363
media: platform: mtk-mdp: Fix mdp_ipi_comm structure alignment
agdr-col Jun 23, 2022
e7a3c80
tcp: make retransmitted SKB fit into the send window
Jul 11, 2022
c66b570
selftests: timers: valid-adjtimex: build fix for newer toolchains
Jul 13, 2022
6c4e435
selftests: timers: clocksource-switch: fix passing errors from child
Jul 13, 2022
48cca38
fs: check FMODE_LSEEK to control internal pipe splicing
zx2c4 Jun 29, 2022
c1216e6
wifi: wil6210: debugfs: fix info leak in wil_write_file_wmi()
Jul 15, 2022
a66dd73
wifi: p54: Fix an error handling path in p54spi_probe()
tititiou36 Jun 12, 2022
51a93db
wifi: p54: add missing parentheses in p54_flush()
RustamSubkhankulov Jul 14, 2022
bfe855a
can: pch_can: do not report txerr and rxerr during bus-off
vincent-mailhol Jul 19, 2022
7fcc6fb
can: rcar_can: do not report txerr and rxerr during bus-off
vincent-mailhol Jul 19, 2022
ea7635a
can: sja1000: do not report txerr and rxerr during bus-off
vincent-mailhol Jul 19, 2022
303733f
can: hi311x: do not report txerr and rxerr during bus-off
vincent-mailhol Jul 19, 2022
50a4a51
can: sun4i_can: do not report txerr and rxerr during bus-off
vincent-mailhol Jul 19, 2022
2af0a52
can: usb_8dev: do not report txerr and rxerr during bus-off
vincent-mailhol Jul 19, 2022
f60fa25
can: error: specify the values of data[5..7] of CAN error frames
vincent-mailhol Jul 19, 2022
502ce72
can: pch_can: pch_can_error(): initialize errc before using it
vincent-mailhol Jul 21, 2022
45c6a3f
Bluetooth: hci_intel: Add check for platform_driver_register
JiangJias Jun 3, 2022
dc3dcee
i2c: cadence: Support PEC for SMBus block read
larsclausen Jul 17, 2022
ebd634b
i2c: mux-gpmux: Add of_node_put() when breaking out of loop
windhl Jul 22, 2022
b13c84e
wifi: wil6210: debugfs: fix uninitialized variable use in `wil_write_…
ammarfaizi2 Jul 25, 2022
61b2ec9
wifi: libertas: Fix possible refcount leak in if_usb_probe()
HBh25Y Jun 20, 2022
fbc166d
net: rose: fix netdev reference changes
edumazet Jul 29, 2022
22e778c
dccp: put dccp_qpolicy_full() and dccp_qpolicy_push() in the same lock
HBh25Y Jul 29, 2022
3c8de6a
mtd: maps: Fix refcount leak in of_flash_probe_versatile
Yuuoniy May 23, 2022
995fb28
mtd: maps: Fix refcount leak in ap_flash_init
Yuuoniy May 23, 2022
9b4fb91
mtd: sm_ftl: Fix deadlock caused by cancel_work_sync in sm_release
stonezdm May 24, 2022
34e4e5b
mtd: st_spi_fsm: Add a clk_disable_unprepare() in .probe()'s error path
Jun 7, 2022
59ef9bf
fpga: altera-pr-ip: fix unsigned comparison with less than zero
Jun 9, 2022
b9c4a48
usb: host: Fix refcount leak in ehci_hcd_ppc_of_probe
Yuuoniy Jun 2, 2022
591ab8d
usb: ohci-nxp: Fix refcount leak in ohci_hcd_nxp_probe
Yuuoniy Jun 3, 2022
155479c
misc: rtsx: Fix an error handling path in rtsx_pci_probe()
tititiou36 Jun 15, 2022
a63d5d0
mmc: sdhci-of-esdhc: Fix refcount leak in esdhc_signal_voltage_switch
Yuuoniy May 23, 2022
fc7512d
memstick/ms_block: Fix some incorrect memory allocation
tititiou36 Jun 25, 2022
efd6752
memstick/ms_block: Fix a memory leak
tititiou36 Jun 25, 2022
91d0d36
mmc: sdhci-of-at91: fix set_uhs_signaling rewriting of MC1R
ehristev Jun 30, 2022
617b3cf
scsi: smartpqi: Fix DMA direction for RAID requests
Jul 8, 2022
041a424
usb: gadget: udc: amd5536 depends on HAS_DMA
rddunlap Jul 9, 2022
fc4de80
RDMA/hfi1: fix potential memory leak in setup_base_ctxt()
Jul 11, 2022
a7af678
gpio: gpiolib-of: Fix refcount bugs in of_mm_gpiochip_add_data()
windhl Jul 11, 2022
03b5634
mmc: cavium-octeon: Add of_node_put() when breaking out of loop
windhl Jul 19, 2022
16ca365
mmc: cavium-thunderx: Add of_node_put() when breaking out of loop
windhl Jul 19, 2022
1f9fa50
USB: serial: fix tty-port initialized comments
jhovold Jul 25, 2022
5841069
platform/olpc: Fix uninitialized data in debugfs write
Jul 20, 2022
06a6d6c
mm/mmap.c: fix missing call to vm_unacct_memory in mmap_region
MiaoheLin Jun 18, 2022
3c838ca
RDMA/rxe: Fix error unwind in rxe_create_qp()
zhuyj Jul 31, 2022
d4de56c
ext4: recover csum seed of tmp_inode after migrating to extents
Jun 17, 2022
0f61c6d
jbd2: fix assertion 'jh->b_frozen_data == NULL' failure when journal …
Jul 15, 2022
aa668f8
ASoC: mediatek: mt8173: Fix refcount leak in mt8173_rt5650_rt5676_dev…
Yuuoniy Jun 2, 2022
7178a0b
ASoC: codecs: da7210: add check for i2c_add_driver
JiangJias May 31, 2022
06ace42
ASoC: mediatek: mt8173-rt5650: Fix refcount leak in mt8173_rt5650_dev…
Yuuoniy Jun 3, 2022
8036057
profiling: fix shift too large makes kernel panic
May 31, 2022
de693d0
tty: n_gsm: fix non flow control frames during mux flow off
dstarke-siemens Jul 1, 2022
7d986ee
tty: n_gsm: fix packet re-transmission without open control channel
dstarke-siemens Jul 1, 2022
e1e3b65
tty: n_gsm: fix race condition in gsmld_write()
dstarke-siemens Jul 1, 2022
23f6160
remoteproc: qcom: wcnss: Fix handling of IRQs
SirSireesh May 26, 2022
3aaa98e
vfio/ccw: Do not change FSM state in subchannel event
efarman Jul 7, 2022
8b2af39
tty: n_gsm: fix wrong T1 retry count handling
dstarke-siemens Jul 7, 2022
b2d84b6
tty: n_gsm: fix DM command
dstarke-siemens Jul 7, 2022
169dbe1
iommu/exynos: Handle failed IOMMU device registration properly
Jul 14, 2022
7a62799
kfifo: fix kfifo_to_user() return type
Jun 24, 2022
a1c0833
mfd: t7l66xb: Drop platform disable callback
May 30, 2022
b73104b
iommu/arm-smmu: qcom_iommu: Add of_node_put() when breaking out of loop
windhl Jul 19, 2022
db7bc17
s390/zcore: fix race when reading from hardware system area
Jul 19, 2022
2688df8
video: fbdev: amba-clcd: Fix refcount leak bugs
windhl Jul 19, 2022
396e4c2
video: fbdev: sis: fix typos in SiS_GetModeID()
RustamSubkhankulov Jul 18, 2022
a79e439
powerpc/pci: Prefer PCI domain assignment via DT 'linux,pci-domain' a…
pali Jul 6, 2022
4358449
powerpc/spufs: Fix refcount leak in spufs_init_isolated_loader
Yuuoniy Jun 3, 2022
5ed9709
powerpc/xive: Fix refcount leak in xive_get_max_prio
Yuuoniy Jun 5, 2022
6263ec8
powerpc/cell/axon_msi: Fix refcount leak in setup_msi_msg_address
Yuuoniy Jun 5, 2022
4262b6e
kprobes: Forbid probing on trampoline and BPF code areas
Aug 1, 2022
1ed2ab5
powerpc/pci: Fix PHB numbering when using opal-phbid
mpe Aug 2, 2022
fddac33
genelf: Use HAVE_LIBCRYPTO_SUPPORT, not the never defined HAVE_LIBCRYPTO
acmel Aug 2, 2022
26baff5
x86/numa: Use cpumask_available instead of hardcoded NULL check
siddhpant Jul 31, 2022
76b3f0a
video: fbdev: arkfb: Fix a divide-by-zero bug in ark_set_pixclock()
ZheyuMa Aug 3, 2022
65dad30
tools/thermal: Fix possible path truncations
ffainelli Jul 25, 2022
73280a1
video: fbdev: vt8623fb: Check the size of screen before memset_io()
ZheyuMa Aug 4, 2022
4a20c55
video: fbdev: arkfb: Check the size of screen before memset_io()
ZheyuMa Aug 4, 2022
5749122
video: fbdev: s3fb: Check the size of screen before memset_io()
ZheyuMa Aug 4, 2022
038a358
scsi: zfcp: Fix missing auto port scan and thus missing target ports
steffen-maier Jul 29, 2022
6597441
x86/olpc: fix 'logical not is only applied to the left hand side'
alobakin Jul 15, 2022
dc6033a
spmi: trace: fix stack-out-of-bound access in SPMI tracing functions
Jun 27, 2022
f217b1c
ext4: add EXT4_INODE_HAS_XATTR_SPACE macro in xattr.h
LiBaokun96 Jun 16, 2022
57e3a55
ext4: make sure ext4_append() always allocates new block
Jul 4, 2022
fb8b3aa
ext4: fix use-after-free in ext4_xattr_set_entry
LiBaokun96 Jun 16, 2022
653187c
ext4: update s_overhead_clusters in the superblock during an on-line …
tytso Jun 29, 2022
02f1637
ext4: fix extent status tree race in writeback error recovery path
Jun 15, 2022
48b5a08
ext4: correct max_inline_xattr_value_size computing
LiBaokun96 Jun 16, 2022
720508f
ext4: correct the misjudgment in ext4_iget_extra_inode
LiBaokun96 Jun 16, 2022
5531f3d
intel_th: pci: Add Raptor Lake-S CPU support
virtuoso Jul 5, 2022
c77aad1
intel_th: pci: Add Raptor Lake-S PCH support
virtuoso Jul 5, 2022
5a0a894
intel_th: pci: Add Meteor Lake-P support
virtuoso Jul 5, 2022
c2f075e
dm raid: fix address sanitizer warning in raid_resume
Jul 24, 2022
90b006d
dm raid: fix address sanitizer warning in raid_status
Jul 24, 2022
d0cce31
net_sched: cls_route: remove from list when handle is 0
Aug 9, 2022
c6fa71a
btrfs: reject log replay if there is unsupported RO compat flag
adam900710 Jun 7, 2022
2566c4c
KVM: Add infrastructure and macro to mark VM as bugged
Aug 10, 2022
a4bd692
KVM: x86: Check lapic_in_kernel() before attempting to set a SynIC irq
vittyvk Aug 10, 2022
bcf0a45
KVM: x86: Avoid theoretical NULL pointer dereference in kvm_irq_deliv…
vittyvk Aug 10, 2022
2aa3bcb
tcp: fix over estimation in sk_forced_mem_schedule()
edumazet Jun 14, 2022
f5e61d9
scsi: sg: Allow waiting for commands to complete on removed device
abattersby Jul 11, 2022
127f323
Revert "net: usb: ax88179_178a needs FLAG_SEND_ZLP"
j-alonso Aug 8, 2022
5f776b8
Bluetooth: L2CAP: Fix l2cap_global_chan_by_psm regression
Vudentz Aug 1, 2022
918ce08
net/9p: Initialize the iounit field during fid creation
tyhicks Jul 10, 2022
99b25b8
net_sched: cls_route: disallow handle of 0
jhsmt Aug 14, 2022
8b14b7e
powerpc/ptdump: Fix display of RW pages on FSL_BOOK3E
chleroy Jun 28, 2022
1825806
ALSA: info: Fix llseek return value when using callback
Aug 17, 2022
84295ae
rds: add missing barrier to release_refill
Aug 10, 2022
70f7fca
ata: libata-eh: Add missing command name
Aug 11, 2022
6a58c94
btrfs: fix lost error handling when looking up extended ref on log re…
fdmanana Aug 1, 2022
d391982
can: ems_usb: fix clang's -Wunaligned-access warning
marckleinebudde Aug 1, 2022
0828d1d
apparmor: fix quiet_denied for file rules
jrjohansen Apr 29, 2021
1fff357
apparmor: Fix failed mount permission check error message
jrjohansen Jan 25, 2022
c912dba
apparmor: fix aa_label_asxprint return check
Feb 13, 2022
d531947
apparmor: fix reference count leak in aa_pivotroot()
Conchy-Conchy Apr 28, 2022
7c96996
NFSv4: Fix races in the legacy idmapper upcall
Jul 13, 2022
7e57874
NFSv4.1: RECLAIM_COMPLETE must handle EACCES
zhangxianwei8 Jul 27, 2022
3899e57
SUNRPC: Reinitialise the backchannel request buffers before reuse
Jul 27, 2022
c35f89a
pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map
Yuuoniy Jun 7, 2022
180418a
pinctrl: qcom: msm8916: Allow CAMSS GP clocks to be muxed
TravMurav Jun 12, 2022
f11e96c
ACPI: property: Return type of acpi_add_nondev_subnodes() should be bool
Jul 11, 2022
6e3b1b1
geneve: do not use RT_TOS for IPv6 flowlabel
Aug 5, 2022
ec0a5b7
vsock: Fix memory leak in vsock_connect()
peilin-ye Aug 8, 2022
9035d59
vsock: Set socket state back to SS_UNCONNECTED in vsock_connect_timeo…
peilin-ye Aug 8, 2022
e288d0c
tools build: Switch to new openssl API for test-libcrypto
robertosassu Jul 19, 2022
a97a923
xen/xenbus: fix return type in xenbus_file_read()
Aug 4, 2022
3db3f3b
atm: idt77252: fix use-after-free bugs caused by tst_timer
stonezdm Aug 5, 2022
eb8850d
nios2: page fault et.al. are *not* restartable syscalls...
Aug 8, 2022
b9918b3
nios2: don't leave NULLs in sys_call_table[]
Aug 8, 2022
b40daf6
nios2: traced syscall does need to check the syscall number
Aug 8, 2022
23f654b
nios2: fix syscall restart checks
Aug 8, 2022
06acb41
nios2: restarts apply only to the first sigframe we build...
Aug 8, 2022
a2e1f07
nios2: add force_successful_syscall_return()
Aug 8, 2022
0252286
netfilter: nf_tables: really skip inactive sets when allocating name
ummakynes Aug 9, 2022
6f75057
powerpc/pci: Fix get_phb_number() locking
mpe Aug 15, 2022
9675ac3
i40e: Fix to stop tx_timeout recovery if GLOBR fails
atbrady-intel Aug 2, 2022
46ec5ab
fec: Fix timer capture timing in `fec_ptp_enable_pps()`
Aug 11, 2022
5773a1e
igb: Add lock to avoid data race
f0rm2l1n Aug 17, 2022
87734c7
kbuild: clear LDFLAGS in the top Makefile
masahir0y Mar 16, 2018
dc574b7
btrfs: only write the sectors in the vertical stripe which has data s…
adam900710 Aug 20, 2022
33bf7de
btrfs: raid56: don't trust any cached sector in __raid56_parity_recov…
adam900710 Aug 20, 2022
6a758f0
drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()
windhl Jul 26, 2022
7f5060a
PCI: Add ACS quirk for Broadcom BCM5750x NICs
pavanchebbi Jun 9, 2022
3f08c6a
irqchip/tegra: Fix overflow implicit truncation warnings
May 18, 2022
c5c5bd5
usb: host: ohci-ppc-of: Fix refcount leak bug
windhl Jun 17, 2022
38cee0d
clk: qcom: ipq8074: dont disable gcc_sleep_clk_src
robimarko May 15, 2022
118d967
gadgetfs: ep_io - wait until IRQ finishes
jomajm Jul 8, 2022
6544ff5
cxl: Fix a memory leak in an error handling path
tititiou36 Jul 11, 2022
09cf99b
drivers:md:fix a potential use-after-free bug
Wentao-Liang Jul 28, 2022
b027870
ext4: avoid remove directory when directory is corrupted
Jun 22, 2022
952b3dc
ext4: avoid resizing to a partial cluster size
Jul 20, 2022
ec56f88
tty: serial: Fix refcount leak bug in ucc_uart.c
windhl Jun 18, 2022
68898dd
vfio: Clear the caps->buf to NULL after free
schspa Jun 29, 2022
af87a46
mips: cavium-octeon: Fix missing of_node_put() in octeon2_usb_clocks_…
windhl Jul 1, 2022
abad598
ALSA: core: Add async signal helpers
tiwai Jul 28, 2022
7725d81
ALSA: timer: Use deferred fasync helper
tiwai Jul 28, 2022
b8ba8e2
smb3: check xattr value length earlier
smfrench Jul 12, 2022
8992141
powerpc/64: Init jump labels before parse_early_param()
zhouzhouyi-hub Jul 26, 2022
656689c
video: fbdev: i740fb: Check the argument of i740_calc_vclk()
ZheyuMa Aug 3, 2022
f280dfe
MIPS: tlbex: Explicitly compare _PAGE_NO_EXEC against 0
nathanchance Aug 2, 2022
e548869
Linux 4.14.291
gregkh Aug 25, 2022
b581c65
Merge Android Common Linux 4.14.283 for diagnostic bisect
github-actions[bot] Jul 28, 2026
167eac8
Merge complete Linux 4.14.291 after proven 4.14.283 diagnostic
github-actions[bot] Jul 31, 2026
050357d
diag: apply audited 4.14.291 compatibility repairs
KAI-Miru Jul 31, 2026
2214106
ci: add 4.14.291 kernel-only diagnostic builder
KAI-Miru Jul 31, 2026
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
  •  
  •  
  •  
406 changes: 226 additions & 180 deletions .github/workflows/miru-h40-build.yml

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions Documentation/ABI/testing/sysfs-ata
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,18 @@ class

dma_mode

Transfer modes supported by the device when in DMA mode.
DMA transfer mode used by the device.
Mostly used by PATA device.

pio_mode

Transfer modes supported by the device when in PIO mode.
PIO transfer mode used by the device.
Mostly used by PATA device.

xfer_mode

Current transfer mode.
Mostly used by PATA device.

id

Expand Down
2 changes: 1 addition & 1 deletion Documentation/ABI/testing/sysfs-bus-iio-vf610
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
What: /sys/bus/iio/devices/iio:deviceX/conversion_mode
What: /sys/bus/iio/devices/iio:deviceX/in_conversion_mode
KernelVersion: 4.2
Contact: linux-iio@vger.kernel.org
Description:
Expand Down
1 change: 1 addition & 0 deletions Documentation/ABI/testing/sysfs-devices-system-cpu
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ What: /sys/devices/system/cpu/vulnerabilities
/sys/devices/system/cpu/vulnerabilities/srbds
/sys/devices/system/cpu/vulnerabilities/tsx_async_abort
/sys/devices/system/cpu/vulnerabilities/itlb_multihit
/sys/devices/system/cpu/vulnerabilities/mmio_stale_data
Date: January 2018
Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org>
Description: Information about CPU vulnerabilities
Expand Down
1 change: 1 addition & 0 deletions Documentation/admin-guide/hw-vuln/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ are configurable at compile, boot or run time.
tsx_async_abort
multihit.rst
special-register-buffer-data-sampling.rst
processor_mmio_stale_data.rst
246 changes: 246 additions & 0 deletions Documentation/admin-guide/hw-vuln/processor_mmio_stale_data.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,246 @@
=========================================
Processor MMIO Stale Data Vulnerabilities
=========================================

Processor MMIO Stale Data Vulnerabilities are a class of memory-mapped I/O
(MMIO) vulnerabilities that can expose data. The sequences of operations for
exposing data range from simple to very complex. Because most of the
vulnerabilities require the attacker to have access to MMIO, many environments
are not affected. System environments using virtualization where MMIO access is
provided to untrusted guests may need mitigation. These vulnerabilities are
not transient execution attacks. However, these vulnerabilities may propagate
stale data into core fill buffers where the data can subsequently be inferred
by an unmitigated transient execution attack. Mitigation for these
vulnerabilities includes a combination of microcode update and software
changes, depending on the platform and usage model. Some of these mitigations
are similar to those used to mitigate Microarchitectural Data Sampling (MDS) or
those used to mitigate Special Register Buffer Data Sampling (SRBDS).

Data Propagators
================
Propagators are operations that result in stale data being copied or moved from
one microarchitectural buffer or register to another. Processor MMIO Stale Data
Vulnerabilities are operations that may result in stale data being directly
read into an architectural, software-visible state or sampled from a buffer or
register.

Fill Buffer Stale Data Propagator (FBSDP)
-----------------------------------------
Stale data may propagate from fill buffers (FB) into the non-coherent portion
of the uncore on some non-coherent writes. Fill buffer propagation by itself
does not make stale data architecturally visible. Stale data must be propagated
to a location where it is subject to reading or sampling.

Sideband Stale Data Propagator (SSDP)
-------------------------------------
The sideband stale data propagator (SSDP) is limited to the client (including
Intel Xeon server E3) uncore implementation. The sideband response buffer is
shared by all client cores. For non-coherent reads that go to sideband
destinations, the uncore logic returns 64 bytes of data to the core, including
both requested data and unrequested stale data, from a transaction buffer and
the sideband response buffer. As a result, stale data from the sideband
response and transaction buffers may now reside in a core fill buffer.

Primary Stale Data Propagator (PSDP)
------------------------------------
The primary stale data propagator (PSDP) is limited to the client (including
Intel Xeon server E3) uncore implementation. Similar to the sideband response
buffer, the primary response buffer is shared by all client cores. For some
processors, MMIO primary reads will return 64 bytes of data to the core fill
buffer including both requested data and unrequested stale data. This is
similar to the sideband stale data propagator.

Vulnerabilities
===============
Device Register Partial Write (DRPW) (CVE-2022-21166)
-----------------------------------------------------
Some endpoint MMIO registers incorrectly handle writes that are smaller than
the register size. Instead of aborting the write or only copying the correct
subset of bytes (for example, 2 bytes for a 2-byte write), more bytes than
specified by the write transaction may be written to the register. On
processors affected by FBSDP, this may expose stale data from the fill buffers
of the core that created the write transaction.

Shared Buffers Data Sampling (SBDS) (CVE-2022-21125)
----------------------------------------------------
After propagators may have moved data around the uncore and copied stale data
into client core fill buffers, processors affected by MFBDS can leak data from
the fill buffer. It is limited to the client (including Intel Xeon server E3)
uncore implementation.

Shared Buffers Data Read (SBDR) (CVE-2022-21123)
------------------------------------------------
It is similar to Shared Buffer Data Sampling (SBDS) except that the data is
directly read into the architectural software-visible state. It is limited to
the client (including Intel Xeon server E3) uncore implementation.

Affected Processors
===================
Not all the CPUs are affected by all the variants. For instance, most
processors for the server market (excluding Intel Xeon E3 processors) are
impacted by only Device Register Partial Write (DRPW).

Below is the list of affected Intel processors [#f1]_:

=================== ============ =========
Common name Family_Model Steppings
=================== ============ =========
HASWELL_X 06_3FH 2,4
SKYLAKE_L 06_4EH 3
BROADWELL_X 06_4FH All
SKYLAKE_X 06_55H 3,4,6,7,11
BROADWELL_D 06_56H 3,4,5
SKYLAKE 06_5EH 3
ICELAKE_X 06_6AH 4,5,6
ICELAKE_D 06_6CH 1
ICELAKE_L 06_7EH 5
ATOM_TREMONT_D 06_86H All
LAKEFIELD 06_8AH 1
KABYLAKE_L 06_8EH 9 to 12
ATOM_TREMONT 06_96H 1
ATOM_TREMONT_L 06_9CH 0
KABYLAKE 06_9EH 9 to 13
COMETLAKE 06_A5H 2,3,5
COMETLAKE_L 06_A6H 0,1
ROCKETLAKE 06_A7H 1
=================== ============ =========

If a CPU is in the affected processor list, but not affected by a variant, it
is indicated by new bits in MSR IA32_ARCH_CAPABILITIES. As described in a later
section, mitigation largely remains the same for all the variants, i.e. to
clear the CPU fill buffers via VERW instruction.

New bits in MSRs
================
Newer processors and microcode update on existing affected processors added new
bits to IA32_ARCH_CAPABILITIES MSR. These bits can be used to enumerate
specific variants of Processor MMIO Stale Data vulnerabilities and mitigation
capability.

MSR IA32_ARCH_CAPABILITIES
--------------------------
Bit 13 - SBDR_SSDP_NO - When set, processor is not affected by either the
Shared Buffers Data Read (SBDR) vulnerability or the sideband stale
data propagator (SSDP).
Bit 14 - FBSDP_NO - When set, processor is not affected by the Fill Buffer
Stale Data Propagator (FBSDP).
Bit 15 - PSDP_NO - When set, processor is not affected by Primary Stale Data
Propagator (PSDP).
Bit 17 - FB_CLEAR - When set, VERW instruction will overwrite CPU fill buffer
values as part of MD_CLEAR operations. Processors that do not
enumerate MDS_NO (meaning they are affected by MDS) but that do
enumerate support for both L1D_FLUSH and MD_CLEAR implicitly enumerate
FB_CLEAR as part of their MD_CLEAR support.
Bit 18 - FB_CLEAR_CTRL - Processor supports read and write to MSR
IA32_MCU_OPT_CTRL[FB_CLEAR_DIS]. On such processors, the FB_CLEAR_DIS
bit can be set to cause the VERW instruction to not perform the
FB_CLEAR action. Not all processors that support FB_CLEAR will support
FB_CLEAR_CTRL.

MSR IA32_MCU_OPT_CTRL
---------------------
Bit 3 - FB_CLEAR_DIS - When set, VERW instruction does not perform the FB_CLEAR
action. This may be useful to reduce the performance impact of FB_CLEAR in
cases where system software deems it warranted (for example, when performance
is more critical, or the untrusted software has no MMIO access). Note that
FB_CLEAR_DIS has no impact on enumeration (for example, it does not change
FB_CLEAR or MD_CLEAR enumeration) and it may not be supported on all processors
that enumerate FB_CLEAR.

Mitigation
==========
Like MDS, all variants of Processor MMIO Stale Data vulnerabilities have the
same mitigation strategy to force the CPU to clear the affected buffers before
an attacker can extract the secrets.

This is achieved by using the otherwise unused and obsolete VERW instruction in
combination with a microcode update. The microcode clears the affected CPU
buffers when the VERW instruction is executed.

Kernel reuses the MDS function to invoke the buffer clearing:

mds_clear_cpu_buffers()

On MDS affected CPUs, the kernel already invokes CPU buffer clear on
kernel/userspace, hypervisor/guest and C-state (idle) transitions. No
additional mitigation is needed on such CPUs.

For CPUs not affected by MDS or TAA, mitigation is needed only for the attacker
with MMIO capability. Therefore, VERW is not required for kernel/userspace. For
virtualization case, VERW is only needed at VMENTER for a guest with MMIO
capability.

Mitigation points
-----------------
Return to user space
^^^^^^^^^^^^^^^^^^^^
Same mitigation as MDS when affected by MDS/TAA, otherwise no mitigation
needed.

C-State transition
^^^^^^^^^^^^^^^^^^
Control register writes by CPU during C-state transition can propagate data
from fill buffer to uncore buffers. Execute VERW before C-state transition to
clear CPU fill buffers.

Guest entry point
^^^^^^^^^^^^^^^^^
Same mitigation as MDS when processor is also affected by MDS/TAA, otherwise
execute VERW at VMENTER only for MMIO capable guests. On CPUs not affected by
MDS/TAA, guest without MMIO access cannot extract secrets using Processor MMIO
Stale Data vulnerabilities, so there is no need to execute VERW for such guests.

Mitigation control on the kernel command line
---------------------------------------------
The kernel command line allows to control the Processor MMIO Stale Data
mitigations at boot time with the option "mmio_stale_data=". The valid
arguments for this option are:

========== =================================================================
full If the CPU is vulnerable, enable mitigation; CPU buffer clearing
on exit to userspace and when entering a VM. Idle transitions are
protected as well. It does not automatically disable SMT.
full,nosmt Same as full, with SMT disabled on vulnerable CPUs. This is the
complete mitigation.
off Disables mitigation completely.
========== =================================================================

If the CPU is affected and mmio_stale_data=off is not supplied on the kernel
command line, then the kernel selects the appropriate mitigation.

Mitigation status information
-----------------------------
The Linux kernel provides a sysfs interface to enumerate the current
vulnerability status of the system: whether the system is vulnerable, and
which mitigations are active. The relevant sysfs file is:

/sys/devices/system/cpu/vulnerabilities/mmio_stale_data

The possible values in this file are:

.. list-table::

* - 'Not affected'
- The processor is not vulnerable
* - 'Vulnerable'
- The processor is vulnerable, but no mitigation enabled
* - 'Vulnerable: Clear CPU buffers attempted, no microcode'
- The processor is vulnerable, but microcode is not updated. The
mitigation is enabled on a best effort basis.
* - 'Mitigation: Clear CPU buffers'
- The processor is vulnerable and the CPU buffer clearing mitigation is
enabled.

If the processor is vulnerable then the following information is appended to
the above information:

======================== ===========================================
'SMT vulnerable' SMT is enabled
'SMT disabled' SMT is disabled
'SMT Host state unknown' Kernel runs in a VM, Host SMT state unknown
======================== ===========================================

References
----------
.. [#f1] Affected Processors
https://www.intel.com/content/www/us/en/developer/topic-technology/software-security-guidance/processors-affected-consolidated-product-cpu-model.html
48 changes: 32 additions & 16 deletions Documentation/admin-guide/hw-vuln/spectre.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ privileged data touched during the speculative execution.
Spectre variant 1 attacks take advantage of speculative execution of
conditional branches, while Spectre variant 2 attacks use speculative
execution of indirect branches to leak privileged memory.
See :ref:`[1] <spec_ref1>` :ref:`[5] <spec_ref5>` :ref:`[7] <spec_ref7>`
:ref:`[10] <spec_ref10>` :ref:`[11] <spec_ref11>`.
See :ref:`[1] <spec_ref1>` :ref:`[5] <spec_ref5>` :ref:`[6] <spec_ref6>`
:ref:`[7] <spec_ref7>` :ref:`[10] <spec_ref10>` :ref:`[11] <spec_ref11>`.

Spectre variant 1 (Bounds Check Bypass)
---------------------------------------
Expand Down Expand Up @@ -131,6 +131,19 @@ steer its indirect branch speculations to gadget code, and measure the
speculative execution's side effects left in level 1 cache to infer the
victim's data.

Yet another variant 2 attack vector is for the attacker to poison the
Branch History Buffer (BHB) to speculatively steer an indirect branch
to a specific Branch Target Buffer (BTB) entry, even if the entry isn't
associated with the source address of the indirect branch. Specifically,
the BHB might be shared across privilege levels even in the presence of
Enhanced IBRS.

Currently the only known real-world BHB attack vector is via
unprivileged eBPF. Therefore, it's highly recommended to not enable
unprivileged eBPF, especially when eIBRS is used (without retpolines).
For a full mitigation against BHB attacks, it's recommended to use
retpolines (or eIBRS combined with retpolines).

Attack scenarios
----------------

Expand Down Expand Up @@ -364,13 +377,15 @@ The possible values in this file are:

- Kernel status:

==================================== =================================
'Not affected' The processor is not vulnerable
'Vulnerable' Vulnerable, no mitigation
'Mitigation: Full generic retpoline' Software-focused mitigation
'Mitigation: Full AMD retpoline' AMD-specific software mitigation
'Mitigation: Enhanced IBRS' Hardware-focused mitigation
==================================== =================================
======================================== =================================
'Not affected' The processor is not vulnerable
'Mitigation: None' Vulnerable, no mitigation
'Mitigation: Retpolines' Use Retpoline thunks
'Mitigation: LFENCE' Use LFENCE instructions
'Mitigation: Enhanced IBRS' Hardware-focused mitigation
'Mitigation: Enhanced IBRS + Retpolines' Hardware-focused + Retpolines
'Mitigation: Enhanced IBRS + LFENCE' Hardware-focused + LFENCE
======================================== =================================

- Firmware status: Show if Indirect Branch Restricted Speculation (IBRS) is
used to protect against Spectre variant 2 attacks when calling firmware (x86 only).
Expand Down Expand Up @@ -584,12 +599,13 @@ kernel command line.

Specific mitigations can also be selected manually:

retpoline
replace indirect branches
retpoline,generic
google's original retpoline
retpoline,amd
AMD-specific minimal thunk
retpoline auto pick between generic,lfence
retpoline,generic Retpolines
retpoline,lfence LFENCE; indirect branch
retpoline,amd alias for retpoline,lfence
eibrs enhanced IBRS
eibrs,retpoline enhanced IBRS + Retpolines
eibrs,lfence enhanced IBRS + LFENCE

Not specifying this option is equivalent to
spectre_v2=auto.
Expand Down Expand Up @@ -730,7 +746,7 @@ AMD white papers:

.. _spec_ref6:

[6] `Software techniques for managing speculation on AMD processors <https://developer.amd.com/wp-content/resources/90343-B_SoftwareTechniquesforManagingSpeculation_WP_7-18Update_FNL.pdf>`_.
[6] `Software techniques for managing speculation on AMD processors <https://developer.amd.com/wp-content/resources/Managing-Speculation-on-AMD-Processors.pdf>`_.

ARM white papers:

Expand Down
Loading
Loading