Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
1306 commits
Select commit Hold shift + click to select a range
5c117d5
hid: asus: asus_report_fixup: fix potential read out of bounds
mrwigglewaffles Jun 2, 2024
095dfd9
Revert "mm: mmap: allow for the maximum number of bits for randomizin…
torvalds Jun 17, 2024
12c740d
Linux 6.9.7
gregkh Jun 27, 2024
4e9bf36
usb: typec: ucsi: Never send a lone connector change ack
Mar 27, 2024
98814a4
usb: typec: ucsi: Ack also failed Get Error commands
May 31, 2024
6777add
pinctrl: renesas: rzg2l: Use spin_{lock,unlock}_irq{save,restore}
claudiubeznea May 22, 2024
bdaeca1
Input: ili210x - fix ili251x_read_touch_data() return value
johnkeeping May 23, 2024
48a7a7c
pinctrl: fix deadlock in create_pinctrl() when handling -EPROBE_DEFER
hagarhem Jun 4, 2024
29d8101
pinctrl: rockchip: fix pinmux bits for RK3328 GPIO2-B pins
EHfive Jun 6, 2024
456447f
pinctrl: rockchip: fix pinmux bits for RK3328 GPIO3-B pins
EHfive Jun 6, 2024
7127c68
pinctrl: rockchip: use dedicated pinctrl type for RK3328
EHfive Jun 6, 2024
66ea238
pinctrl: rockchip: fix pinmux reset in rockchip_pmx_set
EHfive Jun 6, 2024
ad9ffd8
MIPS: pci: lantiq: restore reset gpio polarity
sch-m Jun 7, 2024
70b7eb9
pwm: stm32: Improve precision of calculation in .apply()
Mar 17, 2024
131486f
pwm: stm32: Fix for settings using period > UINT32_MAX
Mar 17, 2024
44ac934
pwm: stm32: Calculate prescaler with a division instead of a loop
Mar 17, 2024
8176e43
pwm: stm32: Refuse too small period requests
ukleinek Jun 21, 2024
0d9e3bf
ASoC: cs42l43: Increase default type detect time and button delay
mstrozek Jun 4, 2024
56f857e
ASoC: rockchip: i2s-tdm: Fix trcm mode by setting clock on right mclk
a1batross Jun 4, 2024
03fbe6f
ASoC: mediatek: mt8183-da7219-max98357: Fix kcontrol name collision
May 31, 2024
598f10a
ASoC: atmel: atmel-classd: Re-add dai_link->platform to fix card init
Jun 4, 2024
1929539
workqueue: Increase worker desc's length to 32
haowenchao Jun 6, 2024
ee211a8
ASoC: q6apm-lpass-dai: close graph on prepare errors
Srinivas-Kandagatla Jun 13, 2024
bf97221
bpf: Add missed var_off setting in set_sext32_default_val()
Jun 15, 2024
58b11b4
bpf: Add missed var_off setting in coerce_subreg_to_size_sx()
Jun 15, 2024
3c4c7bd
s390/pci: Add missing virt_to_phys() for directed DIBV
niklas88 Jun 11, 2024
5c38abd
s390/virtio_ccw: Fix config change notifications
halil-pasic Jun 11, 2024
87496a1
bpf: Fix remap of arena.
Jun 17, 2024
b0c39ae
ASoC: amd: acp: add a null check for chip_pdev structure
vijendarmukunda Jun 17, 2024
c33a142
ASoC: amd: acp: remove i2s configuration check in acp_i2s_probe()
vijendarmukunda Jun 17, 2024
819ebcd
ASoC: amd: acp: move chip->flag variable assignment
vijendarmukunda Jun 17, 2024
7c18b4d
ASoC: fsl-asoc-card: set priv->pdev before using it
Revalioli Jun 20, 2024
5097b47
net: dsa: microchip: fix initial port flush problem
triha2work Jun 19, 2024
61025c1
openvswitch: get related ct labels from its master if it is not confi…
lxin Jun 19, 2024
17a3d0d
bonding: fix incorrect software timestamping report
liuhangbin Jun 20, 2024
8ae4015
ionic: fix kernel panic due to multi-buffer handling
TaeheeYoo Jun 20, 2024
8af0f37
mlxsw: pci: Fix driver initialization with Spectrum-4
idosch Jun 21, 2024
bf8781e
mlxsw: spectrum_buffers: Fix memory corruptions on Spectrum-4 systems
idosch Jun 21, 2024
e47a1a7
bpf: Fix the corner case with may_goto and jump to the 1st insn.
Jun 19, 2024
47416c8
bpf: Fix overrunning reservations in ringbuf
borkmann Jun 21, 2024
173dae6
vxlan: Pull inner IP header in vxlan_xmit_one().
Jun 19, 2024
dfbe53f
ibmvnic: Free any outstanding tx skbs during scrq reset
Jun 20, 2024
c553ba2
net: phy: micrel: add Microchip KSZ 9477 to the device table
deribaucourt Jun 21, 2024
5add250
net: dsa: microchip: use collision based back pressure mode
deribaucourt Jun 21, 2024
3c27624
ice: Rebuild TC queues on VSI queue reconfiguration
JanJSokolowski Jun 21, 2024
175827e
bpf: Fix may_goto with negative offset.
Jun 19, 2024
f92298b
xdp: Remove WARN() from __xdp_reg_mem_model()
Jun 24, 2024
42b9ab7
ASoC: mediatek: mt8195: Add platform entry for ETDM1_OUT_BE dai link
wens Jun 24, 2024
43442fd
netfilter: fix undefined reference to 'netfilter_lwtunnel_*' when CON…
Jun 21, 2024
e153da3
btrfs: use NOFS context when getting inodes during logging and log re…
fdmanana Jun 13, 2024
360892e
Fix race for duplicate reqsk on identical SYN
Jun 21, 2024
677c439
ALSA: seq: Fix missing channel at encoding RPN/NRPN MIDI2 messages
tiwai Jun 25, 2024
7b1efce
net: dsa: microchip: fix wrong register write when masking interrupt
triha2work Jun 21, 2024
4c7f28f
sparc: fix old compat_sys_select()
arndb Jun 19, 2024
c98fb61
sparc: fix compat recv/recvfrom syscalls
arndb Jun 19, 2024
10eb208
parisc: use correct compat recv/recvfrom syscalls
arndb Jun 19, 2024
2f968a1
powerpc: restore some missing spu syscalls
arndb Apr 24, 2024
ef7646e
ionic: use dev_consume_skb_any outside of napi
emusln Jun 24, 2024
7699d26
tcp: fix tcp_rcv_fastopen_synack() to enter TCP_CA_Loss for failed TFO
nealcardwell Jun 24, 2024
d4701a1
ALSA: seq: Fix missing MSB in MIDI2 SPP conversion
tiwai Jun 26, 2024
41a6375
netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data …
ummakynes Jun 26, 2024
fc312d6
af_unix: Stop recv(MSG_PEEK) at consumed OOB skb.
q2ven Jun 25, 2024
71f8d9a
af_unix: Don't stop recv(MSG_DONTWAIT) if consumed OOB skb is at the …
q2ven Jun 25, 2024
8c7db22
af_unix: Don't stop recv() at consumed ex-OOB skb.
q2ven Jun 25, 2024
09a325a
af_unix: Fix wrong ioctl(SIOCATMARK) when consumed OOB skb is at the …
q2ven Jun 25, 2024
ed45c0a
net: mana: Fix possible double free in error handling path
Jun 25, 2024
0541247
bpf: Take return from set_memory_ro() into account with bpf_prog_lock…
chleroy Mar 8, 2024
044da7a
bpf: Take return from set_memory_rox() into account with bpf_jit_bina…
chleroy Mar 8, 2024
e646402
drm/panel: ilitek-ili9881c: Fix warning with GPIO controllers that sleep
pinchartl Mar 17, 2024
79d54dd
drm/xe: Fix potential integer overflow in page size calculation
nirmoy Mar 18, 2024
8af2ba2
vduse: validate block features only with block devices
mcoquelin Jan 9, 2024
1760dd6
vduse: Temporarily fail if control queue feature requested
mcoquelin Jan 9, 2024
a296815
x86/fpu: Fix AMD X86_BUG_FXSAVE_LEAK fixup
ubizjak Mar 15, 2024
cc796a7
drm/xe: Add a NULL check in xe_ttm_stolen_mgr_init
nirmoy Mar 19, 2024
fc37011
drm/amd/display: correct hostvm flag
Sep 6, 2022
ded0787
mtd: partitions: redboot: Added conversion of operands to a larger type
Mar 15, 2024
1822443
wifi: ieee80211: check for NULL in ieee80211_mle_size_ok()
jmberg-intel Mar 18, 2024
27df59c
drm/amd/display: Skip pipe if the pipe idx not set properly
Mar 15, 2024
c8fe6e5
bpf: Add a check for struct bpf_fib_lookup size
aspsk Mar 26, 2024
3189983
bpf: Mark bpf prog stack with kmsan_unposion_memory in interpreter mode
Mar 28, 2024
76ec0e3
drm/xe/xe_devcoredump: Check NULL before assignments
hghimira Mar 28, 2024
f45b43d
RDMA/restrack: Fix potential invalid address access
wenchao-hao Mar 18, 2024
2d090c7
net/iucv: Avoid explicit cpumask var allocation on stack
Mar 31, 2024
5e4f250
net/dpaa2: Avoid explicit cpumask var allocation on stack
Mar 31, 2024
3edfa2a
wifi: rtw89: download firmware with five times retry
Mar 29, 2024
d96187e
crypto: ecdh - explicitly zeroize private_key
jvdsn Mar 28, 2024
87039b8
ALSA: emux: improve patch ioctl data validation
ossilator Apr 6, 2024
504acde
media: dvbdev: Initialize sbuf
ribalda Mar 25, 2024
42b91ce
irqchip/loongson: Select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP for IR…
seehearfeel Mar 26, 2024
086f918
iommu/arm-smmu-v3: Do not allow a SVA domain to be set on the wrong P…
jgunthorpe Mar 27, 2024
c0d3009
soc: ti: wkup_m3_ipc: Send NULL dummy message instead of pointer message
glneo Mar 25, 2024
f54f9d5
gfs2: Fix NULL pointer dereference in gfs2_log_flush
Mar 11, 2024
c1a964b
evm: Enforce signatures on unsupported filesystem for EVM_INIT_X509
stefanberger Feb 23, 2024
ebacd4b
drm/radeon/radeon_display: Decrease the size of allocated memory
Mar 30, 2024
583ce24
drm/xe: Check pat.ops before dumping PAT settings
mwajdecz Apr 9, 2024
09b3377
nvmet: do not return 'reserved' for empty TSAS values
Jun 17, 2024
ca4d1f1
nvme: fixup comment for nvme RDMA Provider Type
hreinecke Jun 17, 2024
b8c3243
nvmet: make 'tsas' attribute idempotent for RDMA
Jun 17, 2024
0aaf41c
drm/panel: simple: Add missing display timing flags for KOE TX26D202V…
Jun 24, 2024
c542e51
gpio: davinci: Validate the obtained number of IRQs
Jun 18, 2024
100de7f
arm64: Clear the initial ID map correctly before remapping
Jun 21, 2024
7e8b940
nfsd: initialise nfsd_info.mutex early.
neilbrown Jun 24, 2024
5aae340
RISC-V: fix vector insn load/store width mask
Mr-Bossman Jun 6, 2024
bf3825a
drm/amdgpu: Fix pci state save during mode-1 reset
Jun 18, 2024
ebee3db
riscv: stacktrace: convert arch_stack_walk() to noinstr
AndybnACT Jun 13, 2024
661b45a
iommu/amd: Introduce per device DTE update function
hegdevasant Apr 18, 2024
b24f089
iommu/amd: Invalidate cache before removing device from domain list
hegdevasant Jun 20, 2024
7a1be1d
iommu/amd: Fix GT feature enablement again
hegdevasant Jun 21, 2024
847d925
gpiolib: cdev: Disallow reconfiguration without direction (uAPI v1)
warthog618 Jun 26, 2024
d972e7b
gpiolib: cdev: Ignore reconfiguration without direction
warthog618 Jun 26, 2024
47a129f
tools/power turbostat: option '-n' is ambiguous
darcari May 20, 2024
8360bf6
randomize_kstack: Remove non-functional per-arch entropy filtering
kees Jun 19, 2024
a3b65c8
x86: stop playing stack games in profile_pc()
torvalds Jun 28, 2024
00997a5
parisc: use generic sys_fanotify_mark implementation
arndb Jun 7, 2024
5767269
Revert "MIPS: pci: lantiq: restore reset gpio polarity"
tsbogend Jun 13, 2024
957db01
pinctrl: qcom: spmi-gpio: drop broken pm8008 support
jhovold May 29, 2024
331d107
ocfs2: fix DIO failure due to insufficient transaction credits
jankara Jun 14, 2024
85c3710
nfs: drop the incorrect assertion in nfs_swap_rw()
Jun 18, 2024
7970c84
kasan: fix bad call to unpoison_slab_object
xairy Jun 14, 2024
9983b81
mm: fix incorrect vbq reference in purge_fragmented_block
Jun 7, 2024
f93fe12
mm/memory: don't require head page for do_set_pmd()
abrestic-rivos Jun 11, 2024
2e56cc1
Revert "mmc: moxart-mmc: Use sg_miter for PIO"
linusw Jun 6, 2024
501a094
mmc: sdhci-pci-o2micro: Convert PCIBIOS_* return codes to errnos
ij-intel May 27, 2024
4d96632
mmc: sdhci-brcmstb: check R1_STATUS for erase/trim/discard
kamaldasu-crypto Jun 3, 2024
5a012be
mmc: sdhci-pci: Convert PCIBIOS_* return codes to errnos
ij-intel May 27, 2024
52e0091
mmc: sdhci: Do not invert write-protect twice
ahunter6 Jun 14, 2024
10698db
mmc: sdhci: Do not lock spinlock around mmc_gpio_get_ro()
ahunter6 Jun 14, 2024
8c9d576
iio: xilinx-ams: Don't include ams_ctrl_channels in scan_mask
Mar 11, 2024
bd1e42e
SUNRPC: Fix backchannel reply, again
chucklever Jun 19, 2024
2747ad3
counter: ti-eqep: enable clock at probe
dlech Jun 21, 2024
6f6fde0
kbuild: doc: Update default INSTALL_MOD_DIR from extra to updates
PeikanTsai Jun 14, 2024
16e7649
kbuild: Fix build target deb-pkg: ln: failed to create hard link
plastikos Jun 16, 2024
ecb48d1
kbuild: rpm-pkg: fix build error with CONFIG_MODULES=n
masahir0y Jun 18, 2024
38c78d5
i2c: testunit: don't erase registers after STOP
Jun 27, 2024
98bd8d7
i2c: testunit: discard write requests while old command is running
Jun 27, 2024
8a8ff7e
ata: libata-core: Fix null pointer dereference on error
floatious Jun 29, 2024
060a30b
ata,scsi: libata-core: Do not leak memory for ata_port struct members
floatious Jun 29, 2024
cf39681
iio: humidity: hdc3020: fix hysteresis representation
Jun 5, 2024
bb5efe8
iio: adc: ad7266: Fix variable checking bug
fernando38954 Jun 3, 2024
8e2f7c2
iio: accel: fxls8962af: select IIO_BUFFER & IIO_KFIFO_BUF
ccpalex Jun 5, 2024
b031d96
iio: chemical: bme680: Fix pressure value output
vamoirid Jun 6, 2024
ec3fc44
iio: chemical: bme680: Fix calibration data variable
vamoirid Jun 6, 2024
3add41b
iio: chemical: bme680: Fix overflows in compensate() functions
vamoirid Jun 6, 2024
bb45c4a
iio: chemical: bme680: Fix sensor data read operation
vamoirid Jun 6, 2024
688ace4
net: usb: ax88179_178a: improve link status logs
jtornosm Jun 20, 2024
15b08fd
usb: gadget: printer: SS+ support
oneukum Jun 20, 2024
01378f3
usb: gadget: printer: fix races against disable
oneukum Jun 20, 2024
2b776d7
usb: musb: da8xx: fix a resource leak in probe()
Jun 17, 2024
ac90075
usb: atm: cxacru: fix endpoint checking in cxacru_bind()
Jun 9, 2024
f1274cf
usb: dwc3: core: remove lock of otg mode during gadget suspend/resume…
limeng-linux Jun 18, 2024
5866593
usb: gadget: aspeed_udc: fix device address configuration
jk-ozlabs Jun 13, 2024
6d9cd9b
usb: typec: ucsi: glink: fix child node release in probe function
javiercarrascocruz Jun 13, 2024
fb2c657
Revert "usb: gadget: u_ether: Re-attach netif device to mirror detach…
htot Jun 20, 2024
aaf67b0
Revert "usb: gadget: u_ether: Replace netif_stop_queue with netif_dev…
htot Jun 20, 2024
1f58e17
usb: ucsi: stm32: fix command completion handling
Jun 12, 2024
0bc1f76
usb: dwc3: core: Workaround for CSR read timeout
Jun 19, 2024
fa42c4e
Revert "serial: core: only stop transmit when HW fifo is empty"
dougg3 Jun 6, 2024
e3f0ca1
tty: serial: 8250: Fix port count mismatch with the device
Jun 17, 2024
6270051
serial: 8250_omap: Implementation of Errata i2310
uditkumarti Jun 19, 2024
0d6d5bb
serial: imx: set receiver level before starting uart
eichenberger Jun 21, 2024
602584e
serial: core: introduce uart_port_tx_limited_flags()
KanjiMonster Jun 6, 2024
3fea132
serial: bcm63xx-uart: fix tx after conversion to uart_port_tx_limited()
KanjiMonster Jun 6, 2024
3aa58cf
ALSA: hda/realtek: fix mute/micmute LEDs don't work for EliteBook 645…
xanthein Jun 26, 2024
f07d459
tty: mxser: Remove __counted_by from mxser_board.ports[]
nathanchance May 29, 2024
f935def
tty: mcf: MCF54418 has 10 UARTS
Jun 20, 2024
ba7e5ae
net: can: j1939: Initialize unused data in j1939_send_one()
May 17, 2024
cdfc341
net: can: j1939: recover socket queue on CAN bus error during BAM tra…
olerem May 28, 2024
0bc0a74
net: can: j1939: enhanced error handling for tightly received RTS mes…
olerem Nov 17, 2023
45fc8d2
PCI/MSI: Fix UAF in msi_capability_init
misaleh Jun 24, 2024
97fe0b9
nvmet-fc: Remove __counted_by from nvmet_fc_tgt_queue.fod[]
nathanchance May 29, 2024
08bf4ee
cpufreq: intel_pstate: Use HWP to initialize ITMT if CPPC is missing
rafaeljw Jun 20, 2024
49928a4
irqchip/loongson-eiointc: Use early_cpu_to_node() instead of cpu_to_n…
chenhuacai Jun 23, 2024
a4787a0
cpu: Fix broken cmdline "nosmp" and "maxcpus=0"
chenhuacai Jun 18, 2024
3d732f9
cpu/hotplug: Fix dynstate assignment in __cpuhp_setup_state_cpuslocked()
ytcoode May 15, 2024
e3cde47
irqchip/loongson-liointc: Set different ISRs for different cores
chenhuacai Jun 22, 2024
91e3c06
kbuild: Install dtb files as 0644 in Makefile.dtbinst
Jun 10, 2024
1d372b2
sh: rework sync_file_range ABI
arndb Jun 11, 2024
009ba8b
btrfs: zoned: fix initial free space detection
naota Jun 11, 2024
796a884
csky, hexagon: fix broken sys_sync_file_range
arndb Jun 14, 2024
c629c9d
hexagon: fix fadvise64_64 calling conventions
arndb Jun 20, 2024
0acce2a
drm/drm_file: Fix pid refcounting race
thejh Jun 27, 2024
bdda507
drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_ld_…
Jun 25, 2024
00702cf
drm/fbdev-dma: Only set smem_start is enable per module option
Jun 17, 2024
dd9ec0e
drm/amdgpu: avoid using null object of framebuffer
julizhan Jun 3, 2024
414f4a3
drm/i915/gt: Fix potential UAF by revoke of fence registers
jkrzyszt-intel Jun 3, 2024
6e49a15
drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_hd_…
Jun 25, 2024
c990344
drm/amd/display: Send DP_TOTAL_LTTPR_CNT during detection if LTTPR is…
Nov 28, 2023
c6b5ff5
drm/amdgpu/atomfirmware: fix parsing of vram_info
alexdeucher Jun 14, 2024
f217e33
io_uring: signal SQPOLL task_work with TWA_SIGNAL_NO_IPI
axboe Jun 25, 2024
9d42bcb
batman-adv: Don't accept TT entries for out-of-spec VIDs
ecsv May 4, 2024
6c6b4af
can: mcp251xfd: fix infinite loop when xmit fails
ivitro May 17, 2024
57ff077
ata: ahci: Clean up sysfs file on error
floatious Jun 29, 2024
e14bc22
ata: libata-core: Add ATA_HORKAGE_NOLPM for all Crucial BX SSD1 models
floatious Jun 27, 2024
8106da4
ata: libata-core: Fix double free on error
floatious Jun 29, 2024
930a4c3
ftruncate: pass a signed offset
arndb Jun 19, 2024
7f91555
syscalls: fix compat_sys_io_pgetevents_time64 usage
arndb Jun 20, 2024
bd2d5b8
syscalls: fix sys_fanotify_mark prototype
arndb Jun 29, 2024
bf920ed
bcachefs: Fix sb_field_downgrade validation
May 6, 2024
3989465
bcachefs: Fix sb-downgrade validation
May 25, 2024
5da1f2a
bcachefs: Fix bch2_sb_downgrade_update()
Jun 17, 2024
2c2cd32
bcachefs: Fix setting of downgrade recovery passes/errors
May 27, 2024
6580811
bcachefs: btree_gc can now handle unknown btrees
May 27, 2024
5f33d7e
Revert "net: sfp: enhance quirk for Fibrestore 2.5G copper SFP module"
gregkh Jul 2, 2024
68b460e
mm/page_alloc: Separate THP PCP into movable and non-movable categories
yangge1116-cpu Jun 20, 2024
d808900
pwm: stm32: Fix calculation of prescaler
ukleinek Jun 21, 2024
11e964d
pwm: stm32: Fix error message to not describe the previous error path
ukleinek Jun 21, 2024
86e3d92
arm64: dts: rockchip: Fix SD NAND and eMMC init on rk3308-rock-pi-s
Kwiboo May 21, 2024
61bb4a5
arm64: dts: rockchip: Rename LED related pinctrl nodes on rk3308-rock…
Kwiboo May 21, 2024
42eb867
arm64: dts: rockchip: set correct pwm0 pinctrl on rk3588-tiger
Jun 3, 2024
bfcad29
arm64: dts: rockchip: Fix the value of `dlg,jack-det-rate` mismatch o…
Jun 13, 2024
e2905fc
ARM: dts: rockchip: rk3066a: add #sound-dai-cells to hdmi node
Jun 13, 2024
1472d8b
Revert "arm64: dts: rockchip: remove redundant cd-gpios from rk3588 s…
RadxaNaoki Jun 13, 2024
53058b5
arm64: dts: rockchip: make poweroff(8) work on Radxa ROCK 5A
RadxaNaoki Jun 12, 2024
dcd9c79
cxl/region: Convert cxl_pmem_region_alloc to scope-based resource man…
djbw Apr 30, 2024
1d064e4
cxl/mem: Fix no cxl_nvd during pmem region auto-assembling
ming4li Jun 12, 2024
90374fb
arm64: dts: rockchip: fix PMIC interrupt pin on ROCK Pi E
RadxaNaoki Jun 19, 2024
0590894
reset: gpio: Fix missing gpiolib dependency for GPIO reset controller
broonie Mar 25, 2024
a1af77a
arm64: dts: rockchip: Fix the i2c address of es8316 on Cool Pi 4B
andyshrk Jun 23, 2024
402c7f7
arm64: dts: rockchip: Add sound-dai-cells for RK3368
knaerzche Jun 23, 2024
2f0ea2e
cxl/region: Move cxl_dpa_to_region() work to the region driver
AlisonSchofield Apr 30, 2024
b8a40a6
cxl/region: Avoid null pointer dereference in region lookup
AlisonSchofield Jun 4, 2024
d629560
cxl/region: check interleave capability
sailer1205 Jun 14, 2024
3473eb8
netfs: Fix netfs_page_mkwrite() to check folio->mapping is valid
dhowells Jun 25, 2024
192d463
netfs: Fix netfs_page_mkwrite() to flush conflicting data, not wait
dhowells Jun 24, 2024
f05cdbe
serial: imx: only set receiver level if it is zero
eichenberger Jul 3, 2024
8fb36f8
serial: 8250_omap: Fix Errata i2310 with RX FIFO level check
uditkumarti Jun 25, 2024
24bb80a
tracing/net_sched: NULL pointer dereference in perf_trace_qdisc_reset()
kzall0c Jun 24, 2024
2106717
Linux 6.9.8
gregkh Jul 5, 2024
a2e6280
chore: import Ubuntu patches
mmstick Jul 6, 2024
db78eb6
chore: System76 Linux scripts
jackpot51 Oct 11, 2019
f7b4cdb
chore: Pop packaging
mmstick Jul 6, 2023
e664f3b
fix: hotfix remove nocf_check attribute for ibt
jglathe Jun 30, 2023
60db3b7
ALSA: hda/realtek - Reapply pin fixup for oryp5
crawfxrd Aug 27, 2020
e805eb8
pinctrl: tigerlake: Workaround for old communities on System76 gaze16
jackpot51 Sep 14, 2021
eb0fd9e
Disable tb_acpi_is_native for System76 coreboot machines
jackpot51 Sep 24, 2021
a488488
Mixer-Maps: Add alternate ALC4080
13r0ck Jun 3, 2022
420e88d
Rewrite mixer map for TRX40 Aorus Master
13r0ck Jul 28, 2022
b207166
ALSA: hda - Improve 3.5mm hotplug w/ROG strix B550
13r0ck Aug 16, 2022
c1e6747
ALSA: hda/conexant: add a new hda codec CX11970
13r0ck Jan 18, 2023
4e237b5
Revert "misc: rtsx: rts522a rts5228 rts5261 support Runtime PM" (#193)
13r0ck Nov 21, 2022
8d9f701
Revert "i2c: acpi: Use ACPI wake capability bit to set wake_irq"
13r0ck Jan 26, 2023
bd1ad99
video/aperature: Remove sysfb_disable
13r0ck Feb 1, 2023
d2a817f
Revert "drm/i915/dmc: Use unversioned path for ADLP"
jackpot51 Sep 20, 2023
d7a77e4
ALSA: hda/realtek: Add quirk for Clevo V350ENC
crawfxrd Mar 25, 2024
94423b3
Enable building linux-system76 for arm64
jackpot51 Apr 29, 2024
d44b863
Disable uefi_signed on arm64
jackpot51 May 8, 2024
cd56ec6
Revert "PCI/ACPI: Call _REG when transitioning D-states"
jackpot51 May 21, 2024
c0bd93c
fix: disable hyperv-tools
mmstick Jun 5, 2024
c5919d9
DROP ON REBASE: 6.9.8-76060904.202406120638 based on 6.9.8-060904.202…
mmstick Jul 6, 2024
29903bd
fix: Jammy dependency reduction
mmstick Jul 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
af_unix: Fix wrong ioctl(SIOCATMARK) when consumed OOB skb is at the …
…head.

[ Upstream commit e400cfa ]

Even if OOB data is recv()ed, ioctl(SIOCATMARK) must return 1 when the
OOB skb is at the head of the receive queue and no new OOB data is queued.

Without fix:

  #  RUN           msg_oob.no_peek.oob ...
  # msg_oob.c:305:oob:Expected answ[0] (0) == oob_head (1)
  # oob: Test terminated by assertion
  #          FAIL  msg_oob.no_peek.oob
  not ok 2 msg_oob.no_peek.oob

With fix:

  #  RUN           msg_oob.no_peek.oob ...
  #            OK  msg_oob.no_peek.oob
  ok 2 msg_oob.no_peek.oob

Fixes: 314001f ("af_unix: Add OOB support")
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
  • Loading branch information
q2ven authored and gregkh committed Jul 5, 2024
commit 09a325ac1d820aa49082e963acb188292e0b2252
15 changes: 13 additions & 2 deletions net/unix/af_unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -3154,12 +3154,23 @@ static int unix_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
#if IS_ENABLED(CONFIG_AF_UNIX_OOB)
case SIOCATMARK:
{
struct unix_sock *u = unix_sk(sk);
struct sk_buff *skb;
int answ = 0;

mutex_lock(&u->iolock);

skb = skb_peek(&sk->sk_receive_queue);
if (skb && skb == READ_ONCE(unix_sk(sk)->oob_skb))
answ = 1;
if (skb) {
struct sk_buff *oob_skb = READ_ONCE(u->oob_skb);

if (skb == oob_skb ||
(!oob_skb && !unix_skb_len(skb)))
answ = 1;
}

mutex_unlock(&u->iolock);

err = put_user(answ, (int __user *)arg);
}
break;
Expand Down