Commit graph

5810 commits

Author SHA1 Message Date
Ksawlii
fab74f7ebd Revert "net: dsa: microchip: fix build warning"
This reverts commit babe59de35.
2024-11-24 00:22:54 +01:00
Ksawlii
59c86f11fd Revert "ALSA: hda/conexant - Fix audio routing for HP EliteOne 1000 G2"
This reverts commit b187517ad0.
2024-11-24 00:22:54 +01:00
Ksawlii
567fb8d401 Revert "net: enetc: add missing static descriptor and inline keyword"
This reverts commit 28fbd87bfe.
2024-11-24 00:22:54 +01:00
Ksawlii
b53604d807 Revert "arm64: probes: Remove broken LDR (literal) uprobe support"
This reverts commit ff921f0c79.
2024-11-24 00:22:53 +01:00
Ksawlii
1b5a5af29c Revert "arm64: probes: Fix simulate_ldr*_literal()"
This reverts commit f2ddadb749.
2024-11-24 00:22:53 +01:00
Ksawlii
11b289f4f9 Revert "net: macb: Avoid 20s boot delay by skipping MDIO bus registration for fixed-link PHY"
This reverts commit f93e3153c5.
2024-11-24 00:22:53 +01:00
Ksawlii
beff299a4a Revert "irqchip/gic-v3-its: Fix VSYNC referencing an unmapped VPE on GIC v4.1"
This reverts commit c25cfe7ca9.
2024-11-24 00:22:53 +01:00
Ksawlii
2baef39fde Revert "fat: fix uninitialized variable"
This reverts commit e739627286.
2024-11-24 00:22:53 +01:00
Ksawlii
beeee29a16 Revert "mm/swapfile: skip HugeTLB pages for unuse_vma"
This reverts commit e8eb8b10a3.
2024-11-24 00:22:53 +01:00
Ksawlii
bfa37c9cf0 Revert "wifi: mac80211: fix potential key use-after-free"
This reverts commit e5e07ee6ec.
2024-11-24 00:22:53 +01:00
Ksawlii
f172b138b7 Revert "KVM: Fix a data race on last_boosted_vcpu in kvm_vcpu_on_spin()"
This reverts commit 1ea1717b12.
2024-11-24 00:22:53 +01:00
Ksawlii
0a13b31c06 Revert "io_uring/sqpoll: do not allow pinning outside of cpuset"
This reverts commit 33068eaaff.
2024-11-24 00:22:53 +01:00
Ksawlii
2da7fc1273 Revert "io_uring/sqpoll: retain test for whether the CPU is valid"
This reverts commit 376645a224.
2024-11-24 00:22:53 +01:00
Ksawlii
7ea1210e5d Revert "io_uring/sqpoll: do not put cpumask on stack"
This reverts commit 43d03276a6.
2024-11-24 00:22:52 +01:00
Ksawlii
f3da6367d0 Revert "s390/sclp_vt220: Convert newlines to CRLF instead of LFCR"
This reverts commit 253e51ed4b.
2024-11-24 00:22:52 +01:00
Ksawlii
89c3aaef2c Revert "blk-rq-qos: fix crash on rq_qos_wait vs. rq_qos_wake_function race"
This reverts commit 6df069c465.
2024-11-24 00:22:52 +01:00
Ksawlii
05db595c67 Revert "io_uring/sqpoll: close race on waiting for sqring entries"
This reverts commit a00eccba07.
2024-11-24 00:22:52 +01:00
Ksawlii
9bf31e8691 Revert "drm/radeon: Fix encoder->possible_clones"
This reverts commit ff586b4f24.
2024-11-24 00:22:52 +01:00
Ksawlii
cd921badef Revert "drm/vmwgfx: Handle surface check failure correctly"
This reverts commit 9af2b41a3f.
2024-11-24 00:22:52 +01:00
Ksawlii
4cb2abe049 Revert "iio: dac: ad5770r: add missing select REGMAP_SPI in Kconfig"
This reverts commit 00b7cccb7b.
2024-11-24 00:22:52 +01:00
Ksawlii
4eb3f182c5 Revert "iio: dac: ltc1660: add missing select REGMAP_SPI in Kconfig"
This reverts commit 238d7da34f.
2024-11-24 00:22:52 +01:00
Ksawlii
587a58032f Revert "iio: dac: stm32-dac-core: add missing select REGMAP_MMIO in Kconfig"
This reverts commit ec258c5471.
2024-11-24 00:22:52 +01:00
Ksawlii
9f9f13b608 Revert "iio: adc: ti-ads8688: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig"
This reverts commit 99569caa32.
2024-11-24 00:22:52 +01:00
Ksawlii
f2d6a87edf Revert "iio: hid-sensors: Fix an error handling path in _hid_sensor_set_report_latency()"
This reverts commit e3f1ddd8b7.
2024-11-24 00:22:52 +01:00
Ksawlii
845b5cd07c Revert "iio: light: veml6030: fix ALS sensor resolution"
This reverts commit 1e4429e60a.
2024-11-24 00:22:52 +01:00
Ksawlii
fd58af9215 Revert "iio: light: veml6030: fix IIO device retrieval from embedded device"
This reverts commit 923da71956.
2024-11-24 00:22:52 +01:00
Ksawlii
c574fc2427 Revert "iio: light: opt3001: add missing full-scale range value"
This reverts commit 903685b6d9.
2024-11-24 00:22:52 +01:00
Ksawlii
58b3c7d501 Revert "iio: proximity: mb1232: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig"
This reverts commit a17505e7cc.
2024-11-24 00:22:52 +01:00
Ksawlii
d773aac6cb Revert "iio: adc: ti-ads124s08: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig"
This reverts commit 754f9225af.
2024-11-24 00:22:52 +01:00
Ksawlii
cafb5ebf44 Revert "Bluetooth: Remove debugfs directory on module init failure"
This reverts commit 66a71e8659.
2024-11-24 00:22:52 +01:00
Ksawlii
27042df7ec Revert "Bluetooth: btusb: Fix regression with fake CSR controllers 0a12:0001"
This reverts commit 2ae7c56a87.
2024-11-24 00:22:51 +01:00
Ksawlii
af649ff977 Revert "xhci: Fix incorrect stream context type macro"
This reverts commit 26ca5dede5.
2024-11-24 00:22:51 +01:00
Ksawlii
d4d4ab32a4 Revert "USB: serial: option: add support for Quectel EG916Q-GL"
This reverts commit a1a0afc6c9.
2024-11-24 00:22:51 +01:00
Ksawlii
781ec55e46 Revert "USB: serial: option: add Telit FN920C04 MBIM compositions"
This reverts commit ee0cc96a9d.
2024-11-24 00:22:51 +01:00
Ksawlii
d6fb0293d8 Revert "parport: Proper fix for array out-of-bounds access"
This reverts commit aad6868e15.
2024-11-24 00:22:51 +01:00
Ksawlii
f1cb82372f Revert "x86/resctrl: Annotate get_mem_config() functions as __init"
This reverts commit 8436a07c7a.
2024-11-24 00:22:51 +01:00
Ksawlii
57c42b3af7 Revert "x86/apic: Always explicitly disarm TSC-deadline timer"
This reverts commit 5a5d98e292.
2024-11-24 00:22:51 +01:00
Ksawlii
e19e6b3388 Revert "x86/entry_32: Do not clobber user EFLAGS.ZF"
This reverts commit 632fba79b9.
2024-11-24 00:22:51 +01:00
Ksawlii
5e83655d80 Revert "x86/entry_32: Clear CPU buffers after register restore in NMI return"
This reverts commit 0c7e61432d.
2024-11-24 00:22:51 +01:00
Ksawlii
a91e7ad42f Revert "irqchip/gic-v4: Don't allow a VMOVP on a dying VPE"
This reverts commit 9b97db363b.
2024-11-24 00:22:51 +01:00
Ksawlii
d22ac47288 Revert "mptcp: track and update contiguous data status"
This reverts commit dcd9060576.
2024-11-24 00:22:51 +01:00
Ksawlii
f17b8dfeea Revert "mptcp: handle consistently DSS corruption"
This reverts commit 3f4af240b0.
2024-11-24 00:22:51 +01:00
Ksawlii
6236b4ccaf Revert "tcp: fix mptcp DSS corruption due to large pmtu xmit"
This reverts commit cce6ef7552.
2024-11-24 00:22:51 +01:00
Ksawlii
3d2f22dcfc Revert "nilfs2: propagate directory read errors from nilfs_find_entry()"
This reverts commit b3a475e970.
2024-11-24 00:22:51 +01:00
Ksawlii
62d9425e52 Revert "powerpc/mm: Always update max/min_low_pfn in mem_topology_setup()"
This reverts commit d3b3390017.
2024-11-24 00:22:51 +01:00
Ksawlii
fa732d6508 Revert "ALSA: hda/conexant - Use cached pin control for Node 0x1d on HP EliteOne 1000 G2"
This reverts commit a717b5eb7d.
2024-11-24 00:22:50 +01:00
Greg Kroah-Hartman
b22a85dacf Linux 5.10.229
Link: https://lore.kernel.org/r/20241106120303.135636370@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Florian Fainelli <florian.fainelli@broadcom.com>
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-23 23:22:06 +01:00
Johannes Berg
a2b08af2ca mac80211: always have ieee80211_sta_restart()
commit 3fa5a0f5b0d69e31c6476cd81afeca3cc25a4927 upstream.

When CONFIG_PM isn't defined we don't have the function
ieee80211_sta_restart() compiled in, but we always need
it now for firmware restart. Move it out of the ifdef.

Fixes: 7d352ccf1e99 ("mac80211: Add support to trigger sta disconnect on hardware restart")
Link: https://lore.kernel.org/r/20220312221957.1fa96c72db51.I8ecaa5f9402fede0272161e0531ab930b97fba3e@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-23 23:22:06 +01:00
Jeongjun Park
8d0f1f6420 vt: prevent kernel-infoleak in con_font_get()
commit f956052e00de211b5c9ebaa1958366c23f82ee9e upstream.

font.data may not initialize all memory spaces depending on the implementation
of vc->vc_sw->con_font_get. This may cause info-leak, so to prevent this, it
is safest to modify it to initialize the allocated memory space to 0, and it
generally does not affect the overall performance of the system.

Cc: stable@vger.kernel.org
Reported-by: syzbot+955da2d57931604ee691@syzkaller.appspotmail.com
Fixes: 05e2600cb0a4 ("VT: Bump font size limitation to 64x128 pixels")
Signed-off-by: Jeongjun Park <aha310510@gmail.com>
Link: https://lore.kernel.org/r/20241010174619.59662-1-aha310510@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-23 23:22:06 +01:00
Wachowski, Karol
56c4cfaa0f drm/shmem-helper: Fix BUG_ON() on mmap(PROT_WRITE, MAP_PRIVATE)
commit 39bc27bd688066a63e56f7f64ad34fae03fbe3b8 upstream.

Lack of check for copy-on-write (COW) mapping in drm_gem_shmem_mmap
allows users to call mmap with PROT_WRITE and MAP_PRIVATE flag
causing a kernel panic due to BUG_ON in vmf_insert_pfn_prot:
BUG_ON((vma->vm_flags & VM_PFNMAP) && is_cow_mapping(vma->vm_flags));

Return -EINVAL early if COW mapping is detected.

This bug affects all drm drivers using default shmem helpers.
It can be reproduced by this simple example:
void *ptr = mmap(0, size, PROT_WRITE, MAP_PRIVATE, fd, mmap_offset);
ptr[0] = 0;

Fixes: 2194a63a818d ("drm: Add library for shmem backed GEM objects")
Cc: Noralf Trønnes <noralf@tronnes.org>
Cc: Eric Anholt <eric@anholt.net>
Cc: Rob Herring <robh@kernel.org>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: David Airlie <airlied@gmail.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Cc: <stable@vger.kernel.org> # v5.2+
Signed-off-by: Wachowski, Karol <karol.wachowski@intel.com>
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20240520100514.925681-1-jacek.lawrynowicz@linux.intel.com
[ Artem: bp to fix CVE-2024-39497, in order to adapt this patch to branch 5.10
  add header file mm/internal.h]
Signed-off-by: Artem Sdvizhkov <raclesdv@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-23 23:22:06 +01:00