用户可基于此项目构建和运行适用于 OpenHarmony 系统的内核,项目包含开发者和用户指南,支持生成 HTML、PDF 等格式文档,提供内核构建运行要求及升级问题说明等核心内容。【此简介由AI生成】
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
!464 merge cve-fix-20261123-master into master CVE修复: kernel_linux_6.6 master (325个安全补丁) - 2026-11-23 Created-by: wanghao794 Commit-by: wanghao;Mark Rutland;Zilin Guan;Masami Hiramatsu (Google);Xiao Kan;Kuen-Han Tsai;Douglas Anderson;Bingquan Chen;Michael Bommarito;Cen Zhang;Deepakkumar Karn;William Bowling;Dayu Jiang;Eric Biggers;Pengpeng Hou;Eric Dumazet;Jakub Kicinski;Sebastian Andrzej Siewior;Qanux;Jinqian Yang;Yiqi Sun;Linus Torvalds;Darrick J. Wong;Baokun Li;Prashanth K;Raul E Rangel;Theodore Ts'o;Guangshuo Li;Qi Tang;Oleh Konko;Al Viro;Luiz Augusto von Dentz;Johan Hovold;Ariel Silver;Florian Westphal;Lukas Wunner;Vahagn Vardanian;Niklas Cassel;Ahmet Eray Karadag;Junxiao Bi;Bart Van Assche;Hyunwoo Kim;Jiayuan Chen;Thomas Zimmermann;Shuvam Pandey;Aboorva Devarajan;Waqar Hameed;Rafael J. Wysocki;Suraj Kandpal;Keenan Dong;Catherine;Johannes Berg;Jann Horn;David Carlier;Alper Ak;Siwei Zhang;Georgia Garcia;Chen Jinghuang;Sergey Senozhatsky;Haoxiang Li;Yang Xiuwei;Weiming Shi;Benjamin Cheng;Ashutosh Desai;Jeongjun Park;Tudor Ambarus;Michal Kosiorek;Yilin Zhu;Sohei Koyama;Chia-Ming Chang;Yucheng Lu;Ruide Cao;Daniel Hodges;Luxiao Xu;Deepanshu Kartikey;Zhengchuan Liang;Chuck Lever;Paul Chaignon;Zhenzhong Wu;Yao Zi;Jinliang Zheng;Sai Ritvik Tanksalkar;Miklos Szeredi;Kai Zen;Brian Foster;Abhishek Bapat;Zhang Yi;Greg Kroah-Hartman;Penghe Geng;Mingyu Wang;Qingfang Deng;John Johansen;xietangxin;Felix Gu;Samuel Page;Ulf Hansson;Sechang Lim;Lang Xu;Jonathan Rissanen;Pauli Virtanen;Jan Kara;MingTao Huang;Zhiyu Zhang;Jiexun Wang;Wyatt Feng;Pablo Neira Ayuso;SeungJu Cheon;Yuqi Xu;Dudu Lu;Oliver Neukum;Minh Nguyen;Ido Schimmel;Michal Luczaj;Mykyta Yatsenko;Daniel Borkmann;Kuniyuki Iwashima;Linpu Yu;Herbert Xu;Haixin Xu;Cunlong Li;Ilya Leoshkevich;Janne Grunau;Sanghyun Park;Kyle Zeng;Sean Christopherson;Maxime Chevallier;Taegu Ha;Sun Jian;Haoze Xie;Safa Karakuş;Aleksandr Nogikh;Wolfram Sang;Christian A. Ehrhardt;Zhang Cen;Sabrina Dubroca;André Draszik;Muhammad Bilal;Dan Carpenter;Dmitry Torokhov;Jeremy Erazo;Ian Bridges;Wenjie Qi;Bryam Vargas;Chao Yu;Lee Jones;Wongi Lee;Rahul Chandelkar;Justin Iurman;David Ahern;Maoyi Xie;Hamza Mahfooz;Jingguo Tan;Yiming Qian;Jarkko Sakkinen;Stepan Ionichev;Kai Aizen;Dawei Feng;Runyu Xiao;Zhao Zhang;David Jeffery;Shaomin Chen;Denis Arefev;Joanne Koong;Yi Yang;Wentao Liang;Pratyush Yadav (Google);Alex Williamson;Vlad Poenaru;Taeyang Lee;Bartosz Golaszewski;Vlastimil Babka (SUSE);Xiang Mei;Zhao Li;Ruoyu Wang;Amir Goldstein;Alistair Popple;Pedro Falcato;Luca Coelho;Chengfeng Ye;Sudeep Holla;Zijun Hu;Unnathi Chalicheemala;Samuel Moelius;Chris Mason;Jiri Olsa;Yuho Choi;Hongchen Zhang;Hui Zhu;Christian Brauner;Zhan Xusheng;Xue Lei;Michael Wu;Shuangpeng Bai;Zhiling Zou;Ali Ahmet MEMIS;Chao Shi;Yi Cong;Zihan Xi;chanyoung;Xiang Mei (Microsoft);Hui Su;Jens Emil Schulz Østergaard;Mathias Krause;Laxman Acharya Padhya;HyeongJun An;Jérémy Jean;Linkai Gong;Rong Zhang;Eduard Zingerman;Maher Azzouzi;guoqi0226;Zizhi Wo Merged-by: openharmony_ci Description: ## CVE 修复列表 本 PR 包含 325 个 CVE 安全补丁的 cherry-pick,覆盖 master 分支上判定为受影响的所有漏洞。 ### 修复统计 - 直接 cherry-pick 成功: 325 个 - 空提交(补丁已存在): 16 个 - 冲突待 backport: 58 个 - 不受影响: 8 个 - 上游无补丁: 73 个 - 未完成(pipeline): 5 个 ### 涉及模块 文件系统(ext4/f2fs/exfat/nfs/ocfs2)、网络(netfilter/bluetooth/tcp/sctp)、安全(apparmor/selinux)、USB、HID、GPU、arch(arm64/x86/loongarch)等 关联 Issue: 待创建 See merge request: openharmony/kernel_linux_6.6!464 | 1 天前 | |
LICENSES: Add the copyleft-next-0.3.1 license Add the full text of the copyleft-next-0.3.1 license to the kernel tree as well as the required tags for reference and tooling. The license text was copied directly from the copyleft-next project's git tree [0]. Discussion of using copyleft-next-0.3.1 on Linux started since June, 2016 [1]. In the end Linus' preference was to have drivers use MODULE_LICENSE("GPL") to make it clear that the GPL applies when it comes to Linux [2]. Additionally, even though copyleft-next-0.3.1 has been found to be to be GPLv2 compatible by three attorneys at SUSE and Redhat [3], to err on the side of caution we simply recommend to always use the "OR" language for this license [4]. Even though it has been a goal of the project to be GPL-v2 compatible to be certain in 2016 I asked for a clarification about what makes copyleft-next GPLv2 compatible and also asked for a summary of benefits. This prompted some small minor changes to make compatibility even further clear and as of copyleft 0.3.1 compatibility should be crystal clear [5]. The summary of why copyleft-next 0.3.1 is compatible with GPLv2 is explained as follows: Like GPLv2, copyleft-next requires distribution of derivative works ("Derived Works" in copyleft-next 0.3.x) to be under the same license. Ordinarily this would make the two licenses incompatible. However, copyleft-next 0.3.1 says: "If the Derived Work includes material licensed under the GPL, You may instead license the Derived Work under the GPL." "GPL" is defined to include GPLv2. In practice this means copyleft-next code in Linux may be licensed under the GPL2, however there are additional obvious gains for bringing contributions from Linux outbound where copyleft-next is preferred. A summary of benefits why projects outside of Linux might prefer to use copyleft-next >= 0.3.1 over GPLv2: o It is much shorter and simpler o It has an explicit patent license grant, unlike GPLv2 o Its notice preservation conditions are clearer o More free software/open source licenses are compatible with it (via section 4) o The source code requirement triggered by binary distribution is much simpler in a procedural sense o Recipients potentially have a contract claim against distributors who are noncompliant with the source code requirement o There is a built-in inbound=outbound policy for upstream contributions (cf. Apache License 2.0 section 5) o There are disincentives to engage in the controversial practice of copyleft/ proprietary dual-licensing o In 15 years copyleft expires, which can be advantageous for legacy code o There are explicit disincentives to bringing patent infringement claims accusing the licensed work of infringement (see 10b) o There is a cure period for licensees who are not compliant with the license (there is no cure opportunity in GPLv2) o copyleft-next has a 'built-in or-later' provision The first driver submission to Linux under this dual strategy was lib/test_sysctl.c through commit 9308f2f9e7f05 ("test_sysctl: add dedicated proc sysctl test driver") merged in July 2017. Shortly after that I also added test_kmod through commit d9c6a72d6fa29 ("kmod: add test driver to stress test the module loader") in the same month. These two drivers went in just a few months before the SPDX license practice kicked in. In 2018 Kuno Woudt went through the process to get SPDX identifiers for copyleft-next [6] [7]. Although there are SPDX tags for copyleft-next-0.3.0, we only document use in Linux starting from copyleft-next-0.3.1 which makes GPLv2 compatibility crystal clear. This patch will let us update the two Linux selftest drivers in subsequent patches with their respective SPDX license identifiers and let us remove repetitive license boiler plate. [0] https://github.com/copyleft-next/copyleft-next/blob/master/Releases/copyleft-next-0.3.1 [1] https://lore.kernel.org/lkml/1465929311-13509-1-git-send-email-mcgrof@kernel.org/ [2] https://lore.kernel.org/lkml/CA+55aFyhxcvD+q7tp+-yrSFDKfR0mOHgyEAe=f_94aKLsOu0Og@mail.gmail.com/ [3] https://lore.kernel.org/lkml/20170516232702.GL17314@wotan.suse.de/ [4] https://lkml.kernel.org/r/1495234558.7848.122.camel@linux.intel.com [5] https://lists.fedorahosted.org/archives/list/copyleft-next@lists.fedorahosted.org/thread/JTGV56DDADWGKU7ZKTZA4DLXTGTLNJ57/#SQMDIKBRAVDOCT4UVNOOCRGBN2UJIKHZ [6] https://spdx.org/licenses/copyleft-next-0.3.0.html [7] https://spdx.org/licenses/copyleft-next-0.3.1.html Cc: Goldwyn Rodrigues <rgoldwyn@suse.com> Cc: Kuno Woudt <kuno@frob.nl> Cc: Richard Fontana <fontana@sharpeleven.org> Cc: copyleft-next@lists.fedorahosted.org Cc: Ciaran Farrell <Ciaran.Farrell@suse.com> Cc: Christopher De Nicolo <Christopher.DeNicolo@suse.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Thorsten Leemhuis <linux@leemhuis.info> Cc: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org> Reviewed-by: Tim Bird <tim.bird@sony.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 3 年前 | |
arm64/fpsimd: signal: Allocate SSVE storage when restoring ZA commit ea8ccfddbce0bee6310da4f3fc560ad520f5e6b4 upstream. The code to restore a ZA context doesn't attempt to allocate the task's sve_state before setting TIF_SME. Consequently, restoring a ZA context can place a task into an invalid state where TIF_SME is set but the task's sve_state is NULL. In legitimate but uncommon cases where the ZA signal context was NOT created by the kernel in the context of the same task (e.g. if the task is saved/restored with something like CRIU), we have no guarantee that sve_state had been allocated previously. In these cases, userspace can enter streaming mode without trapping while sve_state is NULL, causing a later NULL pointer dereference when the kernel attempts to store the register state: | # ./sigreturn-za | Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 | Mem abort info: | ESR = 0x0000000096000046 | EC = 0x25: DABT (current EL), IL = 32 bits | SET = 0, FnV = 0 | EA = 0, S1PTW = 0 | FSC = 0x06: level 2 translation fault | Data abort info: | ISV = 0, ISS = 0x00000046, ISS2 = 0x00000000 | CM = 0, WnR = 1, TnD = 0, TagAccess = 0 | GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 | user pgtable: 4k pages, 52-bit VAs, pgdp=0000000101f47c00 | [0000000000000000] pgd=08000001021d8403, p4d=0800000102274403, pud=0800000102275403, pmd=0000000000000000 | Internal error: Oops: 0000000096000046 [#1] SMP | Modules linked in: | CPU: 0 UID: 0 PID: 153 Comm: sigreturn-za Not tainted 6.19.0-rc1 #1 PREEMPT | Hardware name: linux,dummy-virt (DT) | pstate: 214000c9 (nzCv daIF +PAN -UAO -TCO +DIT -SSBS BTYPE=--) | pc : sve_save_state+0x4/0xf0 | lr : fpsimd_save_user_state+0xb0/0x1c0 | sp : ffff80008070bcc0 | x29: ffff80008070bcc0 x28: fff00000c1ca4c40 x27: 63cfa172fb5cf658 | x26: fff00000c1ca5228 x25: 0000000000000000 x24: 0000000000000000 | x23: 0000000000000000 x22: fff00000c1ca4c40 x21: fff00000c1ca4c40 | x20: 0000000000000020 x19: fff00000ff6900f0 x18: 0000000000000000 | x17: fff05e8e0311f000 x16: 0000000000000000 x15: 028fca8f3bdaf21c | x14: 0000000000000212 x13: fff00000c0209f10 x12: 0000000000000020 | x11: 0000000000200b20 x10: 0000000000000000 x9 : fff00000ff69dcc0 | x8 : 00000000000003f2 x7 : 0000000000000001 x6 : fff00000c1ca5b48 | x5 : fff05e8e0311f000 x4 : 0000000008000000 x3 : 0000000000000000 | x2 : 0000000000000001 x1 : fff00000c1ca5970 x0 : 0000000000000440 | Call trace: | sve_save_state+0x4/0xf0 (P) | fpsimd_thread_switch+0x48/0x198 | __switch_to+0x20/0x1c0 | __schedule+0x36c/0xce0 | schedule+0x34/0x11c | exit_to_user_mode_loop+0x124/0x188 | el0_interrupt+0xc8/0xd8 | __el0_irq_handler_common+0x18/0x24 | el0t_64_irq_handler+0x10/0x1c | el0t_64_irq+0x198/0x19c | Code: 54000040 d51b4408 d65f03c0 d503245f (e5bb5800) | ---[ end trace 0000000000000000 ]--- Fix this by having restore_za_context() ensure that the task's sve_state is allocated, matching what we do when taking an SME trap. Any live SVE/SSVE state (which is restored earlier from a separate signal context) must be preserved, and hence this is not zeroed. Fixes: 39782210eb7e ("arm64/sme: Implement ZA signal handling") Cc: <stable@vger.kernel.org> Cc: Mark Brown <broonie@kernel.org> Cc: Will Deacon <will@kernel.org> Reviewed-by: Mark Brown <broonie@kernel.org> Signed-off-by: wanghao <wanghao865@huawei.com> | 8 天前 | |
block: Avoid mounting the bdev pseudo-filesystem in userspace [ Upstream commit f73aa66dffcb8e61e78f01b56163ec16a15d06d2 ] The bdev pseudo-filesystem is an internal kernel filesystem with which userspace should not interfere. Unregister it so that userspace cannot even attempt to mount it. This fixes a bug [1] that occurs when attempting to access files, because the system call move_mount() uses pointers declared in the inode_operations structure, which for the bdev pseudo-filesystem are always equal to 0. inode->i_op = &empty_iops; [1] BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor instruction fetch in kernel mode #PF: error_code(0x0010) - not-present page PGD 23380067 P4D 23380067 PUD 23381067 PMD 0 Oops: 0010 [#1] PREEMPT SMP KASAN NOPTI CPU: 2 PID: 17125 Comm: syz-executor.0 Not tainted 6.1.155-syzkaller-00350-g84221fde2681 #0 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:0x0 Call Trace: <TASK> lookup_open.isra.0+0x700/0x1180 fs/namei.c:3460 open_last_lookups fs/namei.c:3550 [inline] path_openat+0x953/0x2700 fs/namei.c:3780 do_filp_open+0x1c5/0x410 fs/namei.c:3810 do_sys_openat2+0x171/0x4d0 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_openat fs/open.c:1350 [inline] __se_sys_openat fs/open.c:1345 [inline] __x64_sys_openat+0x13c/0x1f0 fs/open.c:1345 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x35/0x80 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 Found by Linux Verification Center (linuxtesting.org) with Syzkaller. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Link: https://lore.kernel.org/all/20131010004732.GJ13318@ZenIV.linux.org.uk/T/# Cc: stable@vger.kernel.org Reviewed-by: Christoph Hellwig <hch@lst.de> Link: https://patch.msgid.link/20260521072857.5078-1-arefev@swemel.ru Signed-off-by: wanghao <wanghao865@huawei.com> | 8 天前 | |
sign-file,extract-cert: use pkcs11 provider for OPENSSL MAJOR >= 3 stable inclusion from stable-6.6.88 commit 2eb70f54ad8634b63402bd9bcea8e4ee5af85add category: bugfix issue: #IC6IH3 CVE: NA Signed-off-by: zyf1116 <zhouyongfei3@huawei.com> --------------------------------------- commit 558bdc45dfb2669e1741384a0c80be9c82fa052c upstream. ENGINE API has been deprecated since OpenSSL version 3.0 [1]. Distros have started dropping support from headers and in future it will likely disappear also from library. It has been superseded by the PROVIDER API, so use it instead for OPENSSL MAJOR >= 3. [1] https://github.com/openssl/openssl/blob/master/README-ENGINES.md [jarkko: fixed up alignment issues reported by checkpatch.pl --strict] Signed-off-by: Jan Stancek <jstancek@redhat.com> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Tested-by: R Nageswara Sastry <rnsastry@linux.ibm.com> Reviewed-by: Neal Gompa <neal@gompa.dev> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: zyf1116 <zhouyongfei3@huawei.com> | 1 年前 | |
crypto: authencesn - reject short ahash digests during instance creation commit 5db6ef9847717329f12c5ea8aba7e9f588a980c0 upstream. authencesn requires either a zero authsize or an authsize of at least 4 bytes because the ESN encrypt/decrypt paths always move 4 bytes of high-order sequence number data at the end of the authenticated data. While crypto_authenc_esn_setauthsize() already rejects explicit non-zero authsizes in the range 1..3, crypto_authenc_esn_create() still copied auth->digestsize into inst->alg.maxauthsize without validating it. The AEAD core then initialized the tfm's default authsize from that value. As a result, selecting an ahash with digest size 1..3, such as cbcmac(cipher_null), exposed authencesn instances whose default authsize was invalid even though setauthsize() would have rejected the same value. AF_ALG could then trigger the ESN tail handling with a too-short tag and hit an out-of-bounds access. Reject authencesn instances whose ahash digest size is in the invalid non-zero range 1..3 so that no tfm can inherit an unsupported default authsize. Fixes: f15f05b0a5de ("crypto: ccm - switch to separate cbcmac driver") Cc: stable@kernel.org Reported-by: Yifan Wu <yifanwucs@gmail.com> Reported-by: Juefei Pu <tomapufckgml@gmail.com> Suggested-by: Xin Liu <bird@lzu.edu.cn> Tested-by: Yuhang Zheng <z1652074432@gmail.com> Reviewed-by: Eric Biggers <ebiggers@kernel.org> Signed-off-by: wanghao <wanghao865@huawei.com> | 8 天前 | |
!464 merge cve-fix-20261123-master into master CVE修复: kernel_linux_6.6 master (325个安全补丁) - 2026-11-23 Created-by: wanghao794 Commit-by: wanghao;Mark Rutland;Zilin Guan;Masami Hiramatsu (Google);Xiao Kan;Kuen-Han Tsai;Douglas Anderson;Bingquan Chen;Michael Bommarito;Cen Zhang;Deepakkumar Karn;William Bowling;Dayu Jiang;Eric Biggers;Pengpeng Hou;Eric Dumazet;Jakub Kicinski;Sebastian Andrzej Siewior;Qanux;Jinqian Yang;Yiqi Sun;Linus Torvalds;Darrick J. Wong;Baokun Li;Prashanth K;Raul E Rangel;Theodore Ts'o;Guangshuo Li;Qi Tang;Oleh Konko;Al Viro;Luiz Augusto von Dentz;Johan Hovold;Ariel Silver;Florian Westphal;Lukas Wunner;Vahagn Vardanian;Niklas Cassel;Ahmet Eray Karadag;Junxiao Bi;Bart Van Assche;Hyunwoo Kim;Jiayuan Chen;Thomas Zimmermann;Shuvam Pandey;Aboorva Devarajan;Waqar Hameed;Rafael J. Wysocki;Suraj Kandpal;Keenan Dong;Catherine;Johannes Berg;Jann Horn;David Carlier;Alper Ak;Siwei Zhang;Georgia Garcia;Chen Jinghuang;Sergey Senozhatsky;Haoxiang Li;Yang Xiuwei;Weiming Shi;Benjamin Cheng;Ashutosh Desai;Jeongjun Park;Tudor Ambarus;Michal Kosiorek;Yilin Zhu;Sohei Koyama;Chia-Ming Chang;Yucheng Lu;Ruide Cao;Daniel Hodges;Luxiao Xu;Deepanshu Kartikey;Zhengchuan Liang;Chuck Lever;Paul Chaignon;Zhenzhong Wu;Yao Zi;Jinliang Zheng;Sai Ritvik Tanksalkar;Miklos Szeredi;Kai Zen;Brian Foster;Abhishek Bapat;Zhang Yi;Greg Kroah-Hartman;Penghe Geng;Mingyu Wang;Qingfang Deng;John Johansen;xietangxin;Felix Gu;Samuel Page;Ulf Hansson;Sechang Lim;Lang Xu;Jonathan Rissanen;Pauli Virtanen;Jan Kara;MingTao Huang;Zhiyu Zhang;Jiexun Wang;Wyatt Feng;Pablo Neira Ayuso;SeungJu Cheon;Yuqi Xu;Dudu Lu;Oliver Neukum;Minh Nguyen;Ido Schimmel;Michal Luczaj;Mykyta Yatsenko;Daniel Borkmann;Kuniyuki Iwashima;Linpu Yu;Herbert Xu;Haixin Xu;Cunlong Li;Ilya Leoshkevich;Janne Grunau;Sanghyun Park;Kyle Zeng;Sean Christopherson;Maxime Chevallier;Taegu Ha;Sun Jian;Haoze Xie;Safa Karakuş;Aleksandr Nogikh;Wolfram Sang;Christian A. Ehrhardt;Zhang Cen;Sabrina Dubroca;André Draszik;Muhammad Bilal;Dan Carpenter;Dmitry Torokhov;Jeremy Erazo;Ian Bridges;Wenjie Qi;Bryam Vargas;Chao Yu;Lee Jones;Wongi Lee;Rahul Chandelkar;Justin Iurman;David Ahern;Maoyi Xie;Hamza Mahfooz;Jingguo Tan;Yiming Qian;Jarkko Sakkinen;Stepan Ionichev;Kai Aizen;Dawei Feng;Runyu Xiao;Zhao Zhang;David Jeffery;Shaomin Chen;Denis Arefev;Joanne Koong;Yi Yang;Wentao Liang;Pratyush Yadav (Google);Alex Williamson;Vlad Poenaru;Taeyang Lee;Bartosz Golaszewski;Vlastimil Babka (SUSE);Xiang Mei;Zhao Li;Ruoyu Wang;Amir Goldstein;Alistair Popple;Pedro Falcato;Luca Coelho;Chengfeng Ye;Sudeep Holla;Zijun Hu;Unnathi Chalicheemala;Samuel Moelius;Chris Mason;Jiri Olsa;Yuho Choi;Hongchen Zhang;Hui Zhu;Christian Brauner;Zhan Xusheng;Xue Lei;Michael Wu;Shuangpeng Bai;Zhiling Zou;Ali Ahmet MEMIS;Chao Shi;Yi Cong;Zihan Xi;chanyoung;Xiang Mei (Microsoft);Hui Su;Jens Emil Schulz Østergaard;Mathias Krause;Laxman Acharya Padhya;HyeongJun An;Jérémy Jean;Linkai Gong;Rong Zhang;Eduard Zingerman;Maher Azzouzi;guoqi0226;Zizhi Wo Merged-by: openharmony_ci Description: ## CVE 修复列表 本 PR 包含 325 个 CVE 安全补丁的 cherry-pick,覆盖 master 分支上判定为受影响的所有漏洞。 ### 修复统计 - 直接 cherry-pick 成功: 325 个 - 空提交(补丁已存在): 16 个 - 冲突待 backport: 58 个 - 不受影响: 8 个 - 上游无补丁: 73 个 - 未完成(pipeline): 5 个 ### 涉及模块 文件系统(ext4/f2fs/exfat/nfs/ocfs2)、网络(netfilter/bluetooth/tcp/sctp)、安全(apparmor/selinux)、USB、HID、GPU、arch(arm64/x86/loongarch)等 关联 Issue: 待创建 See merge request: openharmony/kernel_linux_6.6!464 | 1 天前 | |
!464 merge cve-fix-20261123-master into master CVE修复: kernel_linux_6.6 master (325个安全补丁) - 2026-11-23 Created-by: wanghao794 Commit-by: wanghao;Mark Rutland;Zilin Guan;Masami Hiramatsu (Google);Xiao Kan;Kuen-Han Tsai;Douglas Anderson;Bingquan Chen;Michael Bommarito;Cen Zhang;Deepakkumar Karn;William Bowling;Dayu Jiang;Eric Biggers;Pengpeng Hou;Eric Dumazet;Jakub Kicinski;Sebastian Andrzej Siewior;Qanux;Jinqian Yang;Yiqi Sun;Linus Torvalds;Darrick J. Wong;Baokun Li;Prashanth K;Raul E Rangel;Theodore Ts'o;Guangshuo Li;Qi Tang;Oleh Konko;Al Viro;Luiz Augusto von Dentz;Johan Hovold;Ariel Silver;Florian Westphal;Lukas Wunner;Vahagn Vardanian;Niklas Cassel;Ahmet Eray Karadag;Junxiao Bi;Bart Van Assche;Hyunwoo Kim;Jiayuan Chen;Thomas Zimmermann;Shuvam Pandey;Aboorva Devarajan;Waqar Hameed;Rafael J. Wysocki;Suraj Kandpal;Keenan Dong;Catherine;Johannes Berg;Jann Horn;David Carlier;Alper Ak;Siwei Zhang;Georgia Garcia;Chen Jinghuang;Sergey Senozhatsky;Haoxiang Li;Yang Xiuwei;Weiming Shi;Benjamin Cheng;Ashutosh Desai;Jeongjun Park;Tudor Ambarus;Michal Kosiorek;Yilin Zhu;Sohei Koyama;Chia-Ming Chang;Yucheng Lu;Ruide Cao;Daniel Hodges;Luxiao Xu;Deepanshu Kartikey;Zhengchuan Liang;Chuck Lever;Paul Chaignon;Zhenzhong Wu;Yao Zi;Jinliang Zheng;Sai Ritvik Tanksalkar;Miklos Szeredi;Kai Zen;Brian Foster;Abhishek Bapat;Zhang Yi;Greg Kroah-Hartman;Penghe Geng;Mingyu Wang;Qingfang Deng;John Johansen;xietangxin;Felix Gu;Samuel Page;Ulf Hansson;Sechang Lim;Lang Xu;Jonathan Rissanen;Pauli Virtanen;Jan Kara;MingTao Huang;Zhiyu Zhang;Jiexun Wang;Wyatt Feng;Pablo Neira Ayuso;SeungJu Cheon;Yuqi Xu;Dudu Lu;Oliver Neukum;Minh Nguyen;Ido Schimmel;Michal Luczaj;Mykyta Yatsenko;Daniel Borkmann;Kuniyuki Iwashima;Linpu Yu;Herbert Xu;Haixin Xu;Cunlong Li;Ilya Leoshkevich;Janne Grunau;Sanghyun Park;Kyle Zeng;Sean Christopherson;Maxime Chevallier;Taegu Ha;Sun Jian;Haoze Xie;Safa Karakuş;Aleksandr Nogikh;Wolfram Sang;Christian A. Ehrhardt;Zhang Cen;Sabrina Dubroca;André Draszik;Muhammad Bilal;Dan Carpenter;Dmitry Torokhov;Jeremy Erazo;Ian Bridges;Wenjie Qi;Bryam Vargas;Chao Yu;Lee Jones;Wongi Lee;Rahul Chandelkar;Justin Iurman;David Ahern;Maoyi Xie;Hamza Mahfooz;Jingguo Tan;Yiming Qian;Jarkko Sakkinen;Stepan Ionichev;Kai Aizen;Dawei Feng;Runyu Xiao;Zhao Zhang;David Jeffery;Shaomin Chen;Denis Arefev;Joanne Koong;Yi Yang;Wentao Liang;Pratyush Yadav (Google);Alex Williamson;Vlad Poenaru;Taeyang Lee;Bartosz Golaszewski;Vlastimil Babka (SUSE);Xiang Mei;Zhao Li;Ruoyu Wang;Amir Goldstein;Alistair Popple;Pedro Falcato;Luca Coelho;Chengfeng Ye;Sudeep Holla;Zijun Hu;Unnathi Chalicheemala;Samuel Moelius;Chris Mason;Jiri Olsa;Yuho Choi;Hongchen Zhang;Hui Zhu;Christian Brauner;Zhan Xusheng;Xue Lei;Michael Wu;Shuangpeng Bai;Zhiling Zou;Ali Ahmet MEMIS;Chao Shi;Yi Cong;Zihan Xi;chanyoung;Xiang Mei (Microsoft);Hui Su;Jens Emil Schulz Østergaard;Mathias Krause;Laxman Acharya Padhya;HyeongJun An;Jérémy Jean;Linkai Gong;Rong Zhang;Eduard Zingerman;Maher Azzouzi;guoqi0226;Zizhi Wo Merged-by: openharmony_ci Description: ## CVE 修复列表 本 PR 包含 325 个 CVE 安全补丁的 cherry-pick,覆盖 master 分支上判定为受影响的所有漏洞。 ### 修复统计 - 直接 cherry-pick 成功: 325 个 - 空提交(补丁已存在): 16 个 - 冲突待 backport: 58 个 - 不受影响: 8 个 - 上游无补丁: 73 个 - 未完成(pipeline): 5 个 ### 涉及模块 文件系统(ext4/f2fs/exfat/nfs/ocfs2)、网络(netfilter/bluetooth/tcp/sctp)、安全(apparmor/selinux)、USB、HID、GPU、arch(arm64/x86/loongarch)等 关联 Issue: 待创建 See merge request: openharmony/kernel_linux_6.6!464 | 1 天前 | |
!464 merge cve-fix-20261123-master into master CVE修复: kernel_linux_6.6 master (325个安全补丁) - 2026-11-23 Created-by: wanghao794 Commit-by: wanghao;Mark Rutland;Zilin Guan;Masami Hiramatsu (Google);Xiao Kan;Kuen-Han Tsai;Douglas Anderson;Bingquan Chen;Michael Bommarito;Cen Zhang;Deepakkumar Karn;William Bowling;Dayu Jiang;Eric Biggers;Pengpeng Hou;Eric Dumazet;Jakub Kicinski;Sebastian Andrzej Siewior;Qanux;Jinqian Yang;Yiqi Sun;Linus Torvalds;Darrick J. Wong;Baokun Li;Prashanth K;Raul E Rangel;Theodore Ts'o;Guangshuo Li;Qi Tang;Oleh Konko;Al Viro;Luiz Augusto von Dentz;Johan Hovold;Ariel Silver;Florian Westphal;Lukas Wunner;Vahagn Vardanian;Niklas Cassel;Ahmet Eray Karadag;Junxiao Bi;Bart Van Assche;Hyunwoo Kim;Jiayuan Chen;Thomas Zimmermann;Shuvam Pandey;Aboorva Devarajan;Waqar Hameed;Rafael J. Wysocki;Suraj Kandpal;Keenan Dong;Catherine;Johannes Berg;Jann Horn;David Carlier;Alper Ak;Siwei Zhang;Georgia Garcia;Chen Jinghuang;Sergey Senozhatsky;Haoxiang Li;Yang Xiuwei;Weiming Shi;Benjamin Cheng;Ashutosh Desai;Jeongjun Park;Tudor Ambarus;Michal Kosiorek;Yilin Zhu;Sohei Koyama;Chia-Ming Chang;Yucheng Lu;Ruide Cao;Daniel Hodges;Luxiao Xu;Deepanshu Kartikey;Zhengchuan Liang;Chuck Lever;Paul Chaignon;Zhenzhong Wu;Yao Zi;Jinliang Zheng;Sai Ritvik Tanksalkar;Miklos Szeredi;Kai Zen;Brian Foster;Abhishek Bapat;Zhang Yi;Greg Kroah-Hartman;Penghe Geng;Mingyu Wang;Qingfang Deng;John Johansen;xietangxin;Felix Gu;Samuel Page;Ulf Hansson;Sechang Lim;Lang Xu;Jonathan Rissanen;Pauli Virtanen;Jan Kara;MingTao Huang;Zhiyu Zhang;Jiexun Wang;Wyatt Feng;Pablo Neira Ayuso;SeungJu Cheon;Yuqi Xu;Dudu Lu;Oliver Neukum;Minh Nguyen;Ido Schimmel;Michal Luczaj;Mykyta Yatsenko;Daniel Borkmann;Kuniyuki Iwashima;Linpu Yu;Herbert Xu;Haixin Xu;Cunlong Li;Ilya Leoshkevich;Janne Grunau;Sanghyun Park;Kyle Zeng;Sean Christopherson;Maxime Chevallier;Taegu Ha;Sun Jian;Haoze Xie;Safa Karakuş;Aleksandr Nogikh;Wolfram Sang;Christian A. Ehrhardt;Zhang Cen;Sabrina Dubroca;André Draszik;Muhammad Bilal;Dan Carpenter;Dmitry Torokhov;Jeremy Erazo;Ian Bridges;Wenjie Qi;Bryam Vargas;Chao Yu;Lee Jones;Wongi Lee;Rahul Chandelkar;Justin Iurman;David Ahern;Maoyi Xie;Hamza Mahfooz;Jingguo Tan;Yiming Qian;Jarkko Sakkinen;Stepan Ionichev;Kai Aizen;Dawei Feng;Runyu Xiao;Zhao Zhang;David Jeffery;Shaomin Chen;Denis Arefev;Joanne Koong;Yi Yang;Wentao Liang;Pratyush Yadav (Google);Alex Williamson;Vlad Poenaru;Taeyang Lee;Bartosz Golaszewski;Vlastimil Babka (SUSE);Xiang Mei;Zhao Li;Ruoyu Wang;Amir Goldstein;Alistair Popple;Pedro Falcato;Luca Coelho;Chengfeng Ye;Sudeep Holla;Zijun Hu;Unnathi Chalicheemala;Samuel Moelius;Chris Mason;Jiri Olsa;Yuho Choi;Hongchen Zhang;Hui Zhu;Christian Brauner;Zhan Xusheng;Xue Lei;Michael Wu;Shuangpeng Bai;Zhiling Zou;Ali Ahmet MEMIS;Chao Shi;Yi Cong;Zihan Xi;chanyoung;Xiang Mei (Microsoft);Hui Su;Jens Emil Schulz Østergaard;Mathias Krause;Laxman Acharya Padhya;HyeongJun An;Jérémy Jean;Linkai Gong;Rong Zhang;Eduard Zingerman;Maher Azzouzi;guoqi0226;Zizhi Wo Merged-by: openharmony_ci Description: ## CVE 修复列表 本 PR 包含 325 个 CVE 安全补丁的 cherry-pick,覆盖 master 分支上判定为受影响的所有漏洞。 ### 修复统计 - 直接 cherry-pick 成功: 325 个 - 空提交(补丁已存在): 16 个 - 冲突待 backport: 58 个 - 不受影响: 8 个 - 上游无补丁: 73 个 - 未完成(pipeline): 5 个 ### 涉及模块 文件系统(ext4/f2fs/exfat/nfs/ocfs2)、网络(netfilter/bluetooth/tcp/sctp)、安全(apparmor/selinux)、USB、HID、GPU、arch(arm64/x86/loongarch)等 关联 Issue: 待创建 See merge request: openharmony/kernel_linux_6.6!464 | 1 天前 | |
sched/isolation: Make CONFIG_CPU_ISOLATION depend on CONFIG_SMP stable inclusion from stable-6.6.89 commit b205d02726b32c2f491a1a267557da5344432428 category: bugfix issue: #IC6IH3 CVE: NA Signed-off-by: zyf1116 <zhouyongfei3@huawei.com> --------------------------------------- [ Upstream commit 975776841e689dd8ba36df9fa72ac3eca3c2957a ] kernel/sched/isolation.c obviously makes no sense without CONFIG_SMP, but the Kconfig entry we have right now: config CPU_ISOLATION bool "CPU isolation" depends on SMP || COMPILE_TEST allows the creation of pointless .config's which cause build failures. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20250330134955.GA7910@redhat.com Closes: https://lore.kernel.org/oe-kbuild-all/202503260646.lrUqD3j5-lkp@intel.com/ Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: zyf1116 <zhouyongfei3@huawei.com> | 1 年前 | |
io_uring: fix filename leak in __io_openat_prep() stable inclusion from stable-6.6.105 commit b14fad555302 category: bugfix issue: #223 CVE: CVE-2025-68814 Signed-off-by: zxl <1554188414@qq.com> ------------------------------- io_uring: fix filename leak in __io_openat_prep() __io_openat_prep() allocates a struct filename using getname(). However, for the condition of the file being installed in the fixed file table as well as having O_CLOEXEC flag set, the function returns early. At that point, the request doesn't have REQ_F_NEED_CLEANUP flag set. Due to this, the memory for the newly allocated struct filename is not cleaned up, causing a memory leak. Fix this by setting the REQ_F_NEED_CLEANUP for the request just after the successful getname() call, so that when the request is torn down, the filename will be cleaned up, along with other resources needing cleanup. Reported-by: syzbot+00e61c43eb5e4740438f@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=00e61c43eb5e4740438f Tested-by: syzbot+00e61c43eb5e4740438f@syzkaller.appspotmail.com Cc: stable@vger.kernel.org Signed-off-by: Prithvi Tambewagh <activprithvi@gmail.com> Fixes: b9445598d8c6 ("io_uring: openat directly into fixed fd table") Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: zxl <1554188414@qq.com> | 8 个月前 | |
ipc/shm: serialize orphan cleanup with shm_nattch updates commit 2e5c6f4fd4001562781e99bbfc7f1f0127187542 upstream. shm_destroy_orphaned() walks the shm idr under shm_ids(ns).rwsem, but that does not serialize all fields tested by shm_may_destroy(). In particular, shm_nattch is updated while holding shm_perm.lock, and attach paths can do that without holding the rwsem. Do not decide that an orphaned segment is unused before taking the object lock. Move the shm_may_destroy() check under shm_perm.lock, matching the other destroy paths, and unlock the segment when it no longer qualifies for removal. Link: https://lore.kernel.org/9d97cc1031de2d0bace0edf3a668818aa2f4eca6.1777410234.git.zylzyl2333@gmail.com Fixes: 4c677e2eefdb ("shm: optimize locking and ipc_namespace getting") Reported-by: Yuan Tan <yuantan098@gmail.com> Reported-by: Yifan Wu <yifanwucs@gmail.com> Reported-by: Juefei Pu <tomapufckgml@gmail.com> Reported-by: Xin Liu <bird@lzu.edu.cn> Cc: Christian Brauner <brauner@kernel.org> Cc: Jeongjun Park <aha310510@gmail.com> Cc: Kees Cook <kees@kernel.org> Cc: Liam Howlett <liam@infradead.org> Cc: Lorenzo Stoakes <ljs@kernel.org> Cc: Serge Hallyn <sergeh@kernel.org> Cc: Vasiliy Kulikov <segoon@openwall.com> Cc: Davidlohr Bueso <dave@stgolabs.net> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Serge Hallyn <serge@hallyn.com> Cc: <stable@vger.kernel.org> Signed-off-by: wanghao <wanghao865@huawei.com> | 8 天前 | |
!464 merge cve-fix-20261123-master into master CVE修复: kernel_linux_6.6 master (325个安全补丁) - 2026-11-23 Created-by: wanghao794 Commit-by: wanghao;Mark Rutland;Zilin Guan;Masami Hiramatsu (Google);Xiao Kan;Kuen-Han Tsai;Douglas Anderson;Bingquan Chen;Michael Bommarito;Cen Zhang;Deepakkumar Karn;William Bowling;Dayu Jiang;Eric Biggers;Pengpeng Hou;Eric Dumazet;Jakub Kicinski;Sebastian Andrzej Siewior;Qanux;Jinqian Yang;Yiqi Sun;Linus Torvalds;Darrick J. Wong;Baokun Li;Prashanth K;Raul E Rangel;Theodore Ts'o;Guangshuo Li;Qi Tang;Oleh Konko;Al Viro;Luiz Augusto von Dentz;Johan Hovold;Ariel Silver;Florian Westphal;Lukas Wunner;Vahagn Vardanian;Niklas Cassel;Ahmet Eray Karadag;Junxiao Bi;Bart Van Assche;Hyunwoo Kim;Jiayuan Chen;Thomas Zimmermann;Shuvam Pandey;Aboorva Devarajan;Waqar Hameed;Rafael J. Wysocki;Suraj Kandpal;Keenan Dong;Catherine;Johannes Berg;Jann Horn;David Carlier;Alper Ak;Siwei Zhang;Georgia Garcia;Chen Jinghuang;Sergey Senozhatsky;Haoxiang Li;Yang Xiuwei;Weiming Shi;Benjamin Cheng;Ashutosh Desai;Jeongjun Park;Tudor Ambarus;Michal Kosiorek;Yilin Zhu;Sohei Koyama;Chia-Ming Chang;Yucheng Lu;Ruide Cao;Daniel Hodges;Luxiao Xu;Deepanshu Kartikey;Zhengchuan Liang;Chuck Lever;Paul Chaignon;Zhenzhong Wu;Yao Zi;Jinliang Zheng;Sai Ritvik Tanksalkar;Miklos Szeredi;Kai Zen;Brian Foster;Abhishek Bapat;Zhang Yi;Greg Kroah-Hartman;Penghe Geng;Mingyu Wang;Qingfang Deng;John Johansen;xietangxin;Felix Gu;Samuel Page;Ulf Hansson;Sechang Lim;Lang Xu;Jonathan Rissanen;Pauli Virtanen;Jan Kara;MingTao Huang;Zhiyu Zhang;Jiexun Wang;Wyatt Feng;Pablo Neira Ayuso;SeungJu Cheon;Yuqi Xu;Dudu Lu;Oliver Neukum;Minh Nguyen;Ido Schimmel;Michal Luczaj;Mykyta Yatsenko;Daniel Borkmann;Kuniyuki Iwashima;Linpu Yu;Herbert Xu;Haixin Xu;Cunlong Li;Ilya Leoshkevich;Janne Grunau;Sanghyun Park;Kyle Zeng;Sean Christopherson;Maxime Chevallier;Taegu Ha;Sun Jian;Haoze Xie;Safa Karakuş;Aleksandr Nogikh;Wolfram Sang;Christian A. Ehrhardt;Zhang Cen;Sabrina Dubroca;André Draszik;Muhammad Bilal;Dan Carpenter;Dmitry Torokhov;Jeremy Erazo;Ian Bridges;Wenjie Qi;Bryam Vargas;Chao Yu;Lee Jones;Wongi Lee;Rahul Chandelkar;Justin Iurman;David Ahern;Maoyi Xie;Hamza Mahfooz;Jingguo Tan;Yiming Qian;Jarkko Sakkinen;Stepan Ionichev;Kai Aizen;Dawei Feng;Runyu Xiao;Zhao Zhang;David Jeffery;Shaomin Chen;Denis Arefev;Joanne Koong;Yi Yang;Wentao Liang;Pratyush Yadav (Google);Alex Williamson;Vlad Poenaru;Taeyang Lee;Bartosz Golaszewski;Vlastimil Babka (SUSE);Xiang Mei;Zhao Li;Ruoyu Wang;Amir Goldstein;Alistair Popple;Pedro Falcato;Luca Coelho;Chengfeng Ye;Sudeep Holla;Zijun Hu;Unnathi Chalicheemala;Samuel Moelius;Chris Mason;Jiri Olsa;Yuho Choi;Hongchen Zhang;Hui Zhu;Christian Brauner;Zhan Xusheng;Xue Lei;Michael Wu;Shuangpeng Bai;Zhiling Zou;Ali Ahmet MEMIS;Chao Shi;Yi Cong;Zihan Xi;chanyoung;Xiang Mei (Microsoft);Hui Su;Jens Emil Schulz Østergaard;Mathias Krause;Laxman Acharya Padhya;HyeongJun An;Jérémy Jean;Linkai Gong;Rong Zhang;Eduard Zingerman;Maher Azzouzi;guoqi0226;Zizhi Wo Merged-by: openharmony_ci Description: ## CVE 修复列表 本 PR 包含 325 个 CVE 安全补丁的 cherry-pick,覆盖 master 分支上判定为受影响的所有漏洞。 ### 修复统计 - 直接 cherry-pick 成功: 325 个 - 空提交(补丁已存在): 16 个 - 冲突待 backport: 58 个 - 不受影响: 8 个 - 上游无补丁: 73 个 - 未完成(pipeline): 5 个 ### 涉及模块 文件系统(ext4/f2fs/exfat/nfs/ocfs2)、网络(netfilter/bluetooth/tcp/sctp)、安全(apparmor/selinux)、USB、HID、GPU、arch(arm64/x86/loongarch)等 关联 Issue: 待创建 See merge request: openharmony/kernel_linux_6.6!464 | 1 天前 | |
lib/crypto: mpi: Fix integer underflow in mpi_read_raw_from_sgl() commit 8c2f1288250a90a4b5cabed5d888d7e3aeed4035 upstream. Yiming reports an integer underflow in mpi_read_raw_from_sgl() when subtracting "lzeros" from the unsigned "nbytes". For this to happen, the scatterlist "sgl" needs to occupy more bytes than the "nbytes" parameter and the first "nbytes + 1" bytes of the scatterlist must be zero. Under these conditions, the while loop iterating over the scatterlist will count more zeroes than "nbytes", subtract the number of zeroes from "nbytes" and cause the underflow. When commit 2d4d1eea540b ("lib/mpi: Add mpi sgl helpers") originally introduced the bug, it couldn't be triggered because all callers of mpi_read_raw_from_sgl() passed a scatterlist whose length was equal to "nbytes". However since commit 63ba4d67594a ("KEYS: asymmetric: Use new crypto interface without scatterlists"), the underflow can now actually be triggered. When invoking a KEYCTL_PKEY_ENCRYPT system call with a larger "out_len" than "in_len" and filling the "in" buffer with zeroes, crypto_akcipher_sync_prep() will create an all-zero scatterlist used for both the "src" and "dst" member of struct akcipher_request and thereby fulfil the conditions to trigger the bug: sys_keyctl() keyctl_pkey_e_d_s() asymmetric_key_eds_op() software_key_eds_op() crypto_akcipher_sync_encrypt() crypto_akcipher_sync_prep() crypto_akcipher_encrypt() rsa_enc() mpi_read_raw_from_sgl() To the user this will be visible as a DoS as the kernel spins forever, causing soft lockup splats as a side effect. Fix it. Reported-by: Yiming Qian <yimingqian591@gmail.com> # off-list Fixes: 2d4d1eea540b ("lib/mpi: Add mpi sgl helpers") Cc: stable@vger.kernel.org # v4.4+ Reviewed-by: Ignat Korchagin <ignat@linux.win> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Link: https://lore.kernel.org/r/59eca92ff4f87e2081777f1423a0efaaadcfdb39.1776003111.git.lukas@wunner.de Signed-off-by: wanghao <wanghao865@huawei.com> | 8 天前 | |
!464 merge cve-fix-20261123-master into master CVE修复: kernel_linux_6.6 master (325个安全补丁) - 2026-11-23 Created-by: wanghao794 Commit-by: wanghao;Mark Rutland;Zilin Guan;Masami Hiramatsu (Google);Xiao Kan;Kuen-Han Tsai;Douglas Anderson;Bingquan Chen;Michael Bommarito;Cen Zhang;Deepakkumar Karn;William Bowling;Dayu Jiang;Eric Biggers;Pengpeng Hou;Eric Dumazet;Jakub Kicinski;Sebastian Andrzej Siewior;Qanux;Jinqian Yang;Yiqi Sun;Linus Torvalds;Darrick J. Wong;Baokun Li;Prashanth K;Raul E Rangel;Theodore Ts'o;Guangshuo Li;Qi Tang;Oleh Konko;Al Viro;Luiz Augusto von Dentz;Johan Hovold;Ariel Silver;Florian Westphal;Lukas Wunner;Vahagn Vardanian;Niklas Cassel;Ahmet Eray Karadag;Junxiao Bi;Bart Van Assche;Hyunwoo Kim;Jiayuan Chen;Thomas Zimmermann;Shuvam Pandey;Aboorva Devarajan;Waqar Hameed;Rafael J. Wysocki;Suraj Kandpal;Keenan Dong;Catherine;Johannes Berg;Jann Horn;David Carlier;Alper Ak;Siwei Zhang;Georgia Garcia;Chen Jinghuang;Sergey Senozhatsky;Haoxiang Li;Yang Xiuwei;Weiming Shi;Benjamin Cheng;Ashutosh Desai;Jeongjun Park;Tudor Ambarus;Michal Kosiorek;Yilin Zhu;Sohei Koyama;Chia-Ming Chang;Yucheng Lu;Ruide Cao;Daniel Hodges;Luxiao Xu;Deepanshu Kartikey;Zhengchuan Liang;Chuck Lever;Paul Chaignon;Zhenzhong Wu;Yao Zi;Jinliang Zheng;Sai Ritvik Tanksalkar;Miklos Szeredi;Kai Zen;Brian Foster;Abhishek Bapat;Zhang Yi;Greg Kroah-Hartman;Penghe Geng;Mingyu Wang;Qingfang Deng;John Johansen;xietangxin;Felix Gu;Samuel Page;Ulf Hansson;Sechang Lim;Lang Xu;Jonathan Rissanen;Pauli Virtanen;Jan Kara;MingTao Huang;Zhiyu Zhang;Jiexun Wang;Wyatt Feng;Pablo Neira Ayuso;SeungJu Cheon;Yuqi Xu;Dudu Lu;Oliver Neukum;Minh Nguyen;Ido Schimmel;Michal Luczaj;Mykyta Yatsenko;Daniel Borkmann;Kuniyuki Iwashima;Linpu Yu;Herbert Xu;Haixin Xu;Cunlong Li;Ilya Leoshkevich;Janne Grunau;Sanghyun Park;Kyle Zeng;Sean Christopherson;Maxime Chevallier;Taegu Ha;Sun Jian;Haoze Xie;Safa Karakuş;Aleksandr Nogikh;Wolfram Sang;Christian A. Ehrhardt;Zhang Cen;Sabrina Dubroca;André Draszik;Muhammad Bilal;Dan Carpenter;Dmitry Torokhov;Jeremy Erazo;Ian Bridges;Wenjie Qi;Bryam Vargas;Chao Yu;Lee Jones;Wongi Lee;Rahul Chandelkar;Justin Iurman;David Ahern;Maoyi Xie;Hamza Mahfooz;Jingguo Tan;Yiming Qian;Jarkko Sakkinen;Stepan Ionichev;Kai Aizen;Dawei Feng;Runyu Xiao;Zhao Zhang;David Jeffery;Shaomin Chen;Denis Arefev;Joanne Koong;Yi Yang;Wentao Liang;Pratyush Yadav (Google);Alex Williamson;Vlad Poenaru;Taeyang Lee;Bartosz Golaszewski;Vlastimil Babka (SUSE);Xiang Mei;Zhao Li;Ruoyu Wang;Amir Goldstein;Alistair Popple;Pedro Falcato;Luca Coelho;Chengfeng Ye;Sudeep Holla;Zijun Hu;Unnathi Chalicheemala;Samuel Moelius;Chris Mason;Jiri Olsa;Yuho Choi;Hongchen Zhang;Hui Zhu;Christian Brauner;Zhan Xusheng;Xue Lei;Michael Wu;Shuangpeng Bai;Zhiling Zou;Ali Ahmet MEMIS;Chao Shi;Yi Cong;Zihan Xi;chanyoung;Xiang Mei (Microsoft);Hui Su;Jens Emil Schulz Østergaard;Mathias Krause;Laxman Acharya Padhya;HyeongJun An;Jérémy Jean;Linkai Gong;Rong Zhang;Eduard Zingerman;Maher Azzouzi;guoqi0226;Zizhi Wo Merged-by: openharmony_ci Description: ## CVE 修复列表 本 PR 包含 325 个 CVE 安全补丁的 cherry-pick,覆盖 master 分支上判定为受影响的所有漏洞。 ### 修复统计 - 直接 cherry-pick 成功: 325 个 - 空提交(补丁已存在): 16 个 - 冲突待 backport: 58 个 - 不受影响: 8 个 - 上游无补丁: 73 个 - 未完成(pipeline): 5 个 ### 涉及模块 文件系统(ext4/f2fs/exfat/nfs/ocfs2)、网络(netfilter/bluetooth/tcp/sctp)、安全(apparmor/selinux)、USB、HID、GPU、arch(arm64/x86/loongarch)等 关联 Issue: 待创建 See merge request: openharmony/kernel_linux_6.6!464 | 1 天前 | |
!464 merge cve-fix-20261123-master into master CVE修复: kernel_linux_6.6 master (325个安全补丁) - 2026-11-23 Created-by: wanghao794 Commit-by: wanghao;Mark Rutland;Zilin Guan;Masami Hiramatsu (Google);Xiao Kan;Kuen-Han Tsai;Douglas Anderson;Bingquan Chen;Michael Bommarito;Cen Zhang;Deepakkumar Karn;William Bowling;Dayu Jiang;Eric Biggers;Pengpeng Hou;Eric Dumazet;Jakub Kicinski;Sebastian Andrzej Siewior;Qanux;Jinqian Yang;Yiqi Sun;Linus Torvalds;Darrick J. Wong;Baokun Li;Prashanth K;Raul E Rangel;Theodore Ts'o;Guangshuo Li;Qi Tang;Oleh Konko;Al Viro;Luiz Augusto von Dentz;Johan Hovold;Ariel Silver;Florian Westphal;Lukas Wunner;Vahagn Vardanian;Niklas Cassel;Ahmet Eray Karadag;Junxiao Bi;Bart Van Assche;Hyunwoo Kim;Jiayuan Chen;Thomas Zimmermann;Shuvam Pandey;Aboorva Devarajan;Waqar Hameed;Rafael J. Wysocki;Suraj Kandpal;Keenan Dong;Catherine;Johannes Berg;Jann Horn;David Carlier;Alper Ak;Siwei Zhang;Georgia Garcia;Chen Jinghuang;Sergey Senozhatsky;Haoxiang Li;Yang Xiuwei;Weiming Shi;Benjamin Cheng;Ashutosh Desai;Jeongjun Park;Tudor Ambarus;Michal Kosiorek;Yilin Zhu;Sohei Koyama;Chia-Ming Chang;Yucheng Lu;Ruide Cao;Daniel Hodges;Luxiao Xu;Deepanshu Kartikey;Zhengchuan Liang;Chuck Lever;Paul Chaignon;Zhenzhong Wu;Yao Zi;Jinliang Zheng;Sai Ritvik Tanksalkar;Miklos Szeredi;Kai Zen;Brian Foster;Abhishek Bapat;Zhang Yi;Greg Kroah-Hartman;Penghe Geng;Mingyu Wang;Qingfang Deng;John Johansen;xietangxin;Felix Gu;Samuel Page;Ulf Hansson;Sechang Lim;Lang Xu;Jonathan Rissanen;Pauli Virtanen;Jan Kara;MingTao Huang;Zhiyu Zhang;Jiexun Wang;Wyatt Feng;Pablo Neira Ayuso;SeungJu Cheon;Yuqi Xu;Dudu Lu;Oliver Neukum;Minh Nguyen;Ido Schimmel;Michal Luczaj;Mykyta Yatsenko;Daniel Borkmann;Kuniyuki Iwashima;Linpu Yu;Herbert Xu;Haixin Xu;Cunlong Li;Ilya Leoshkevich;Janne Grunau;Sanghyun Park;Kyle Zeng;Sean Christopherson;Maxime Chevallier;Taegu Ha;Sun Jian;Haoze Xie;Safa Karakuş;Aleksandr Nogikh;Wolfram Sang;Christian A. Ehrhardt;Zhang Cen;Sabrina Dubroca;André Draszik;Muhammad Bilal;Dan Carpenter;Dmitry Torokhov;Jeremy Erazo;Ian Bridges;Wenjie Qi;Bryam Vargas;Chao Yu;Lee Jones;Wongi Lee;Rahul Chandelkar;Justin Iurman;David Ahern;Maoyi Xie;Hamza Mahfooz;Jingguo Tan;Yiming Qian;Jarkko Sakkinen;Stepan Ionichev;Kai Aizen;Dawei Feng;Runyu Xiao;Zhao Zhang;David Jeffery;Shaomin Chen;Denis Arefev;Joanne Koong;Yi Yang;Wentao Liang;Pratyush Yadav (Google);Alex Williamson;Vlad Poenaru;Taeyang Lee;Bartosz Golaszewski;Vlastimil Babka (SUSE);Xiang Mei;Zhao Li;Ruoyu Wang;Amir Goldstein;Alistair Popple;Pedro Falcato;Luca Coelho;Chengfeng Ye;Sudeep Holla;Zijun Hu;Unnathi Chalicheemala;Samuel Moelius;Chris Mason;Jiri Olsa;Yuho Choi;Hongchen Zhang;Hui Zhu;Christian Brauner;Zhan Xusheng;Xue Lei;Michael Wu;Shuangpeng Bai;Zhiling Zou;Ali Ahmet MEMIS;Chao Shi;Yi Cong;Zihan Xi;chanyoung;Xiang Mei (Microsoft);Hui Su;Jens Emil Schulz Østergaard;Mathias Krause;Laxman Acharya Padhya;HyeongJun An;Jérémy Jean;Linkai Gong;Rong Zhang;Eduard Zingerman;Maher Azzouzi;guoqi0226;Zizhi Wo Merged-by: openharmony_ci Description: ## CVE 修复列表 本 PR 包含 325 个 CVE 安全补丁的 cherry-pick,覆盖 master 分支上判定为受影响的所有漏洞。 ### 修复统计 - 直接 cherry-pick 成功: 325 个 - 空提交(补丁已存在): 16 个 - 冲突待 backport: 58 个 - 不受影响: 8 个 - 上游无补丁: 73 个 - 未完成(pipeline): 5 个 ### 涉及模块 文件系统(ext4/f2fs/exfat/nfs/ocfs2)、网络(netfilter/bluetooth/tcp/sctp)、安全(apparmor/selinux)、USB、HID、GPU、arch(arm64/x86/loongarch)等 关联 Issue: 待创建 See merge request: openharmony/kernel_linux_6.6!464 | 1 天前 | |
rust: module: place cleanup_module() in .exit.text section stable inclusion from stable-6.6.96 commit c765f592adc719cd2b925b0f30d65207a7e8f8f5 category: bugfix issue: #ICCW0G CVE: NA Signed-off-by: Li Nan <linan122@huawei.com> --------------------------------------- [ Upstream commit 249c3a0e53acefc2b06d3b3e1fc28fb2081f878d ] Place cleanup_module() in .exit.text section. Currently, cleanup_module() is likely placed in the .text section. It's inconsistent with the layout of C modules, where cleanup_module() is placed in .exit.text. [ Boqun asked for an example of how the section changed to be put in the log. Tomonori provided the following examples: C module: $ objdump -t ~/build/x86/drivers/block/loop.o|grep clean 0000000000000000 l O .exit.data 0000000000000008 __UNIQUE_ID___addressable_cleanup_module412 0000000000000000 g F .exit.text 000000000000009c cleanup_module Rust module without this patch: $ objdump -t ~/build/x86/samples/rust/rust_minimal.o|grep clean 00000000000002b0 g F .text 00000000000000c6 cleanup_module 0000000000000000 g O .exit.data 0000000000000008 _R...___UNIQUE_ID___addressable_cleanup_module Rust module with this patch: $ objdump -t ~/build/x86/samples/rust/rust_minimal.o|grep clean 0000000000000000 g F .exit.text 00000000000000c6 cleanup_module 0000000000000000 g O .exit.data 0000000000000008 _R...___UNIQUE_ID___addressable_cleanup_module - Miguel ] Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com> Acked-by: Jarkko Sakkinen <jarkko@kernel.org> Link: https://lore.kernel.org/r/20250308044506.14458-1-fujita.tomonori@gmail.com Signed-off-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Li Nan <linan122@huawei.com> | 1 年前 | |
samples/ftrace: Fix kthread_stop() on ERR_PTR in ftrace-direct-multi-modify stable inclusion from stable-v6.6.157 commit 7a96b9f6d5ba23dbce66c8a4a242effd4c01a830 category: bugfix issue: #1495 CVE: CVE-2026-90066 Signed-off-by: 姜小林 <jiangxiaolin11@h-partners.com> Co-Authored-By: Agent ------------------------------- samples/ftrace: Fix kthread_stop() on ERR_PTR in ftrace-direct-multi-modify [ Upstream commit 6727b7618f49401acf373fa3ec5712e2ec52e5cf ] ftrace_direct_multi_init() assigns kthread_run()'s return value to simple_tsk without an IS_ERR() check. When kthread_run() fails it returns ERR_PTR(-ENOMEM), but init still returns 0, so the module loads with simple_tsk holding an error pointer. On unload, ftrace_direct_multi_exit() then passes that ERR_PTR to kthread_stop(), leading to a null-pointer-dereference. Check the return value of kthread_run() with IS_ERR(); on failure, unregister the ftrace direct call and propagate the error code. Link: https://patch.msgid.link/20260826015050.10772-1-vulab@iscas.ac.cn Fixes: e1067a07cfbc ("ftrace/samples: Add module to test multi direct modify interface") Suggested-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Haotian Zhang <vulab@iscas.ac.cn> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: 姜小林 <jiangxiaolin11@h-partners.com> AI[0%] Human Fixed[0%] Human[100%] AI Adopted[0%] Change-Id: I36bc567a9d2d81c8884104f9e91ed3561a065c4c | 2 个月前 | |
sharefs 调测 Signed-off-by: chen_jie <chenjie439@h-partners.com> | 10 个月前 | |
apparmor: fix invalid deref of rawdata when export_binary is unset [ Upstream commit df9ac55abd18628bd8cff687ea043660532a3654 ] If the export_binary parameter is disabled on runtime, profiles that were loaded before that will still have their rawdata stored in apparmorfs, with a symbolic link to the rawdata on the policy directory. When one of those profiles are replaced, the rawdata is set to NULL, but when trying to resolve the symbolic links to rawdata for that profile, it will try to dereference profile->rawdata->name when profile->rawdata is now NULL causing an oops. Fix it by checking if rawdata is set. [ 168.653080] BUG: kernel NULL pointer dereference, address: 0000000000000088 [ 168.657420] #PF: supervisor read access in kernel mode [ 168.660619] #PF: error_code(0x0000) - not-present page [ 168.663613] PGD 0 P4D 0 [ 168.665450] Oops: Oops: 0000 [#1] SMP NOPTI [ 168.667836] CPU: 1 UID: 0 PID: 1729 Comm: ls Not tainted 6.19.0-rc7+ #3 PREEMPT(voluntary) [ 168.672308] Hardware name: QEMU Ubuntu 24.04 PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 168.679327] RIP: 0010:rawdata_get_link_base.isra.0+0x23/0x330 [ 168.682768] Code: 90 90 90 90 90 90 90 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 18 48 89 55 d0 48 85 ff 0f 84 e3 01 00 00 <48> 83 3c 25 88 00 00 00 00 0f 84 d4 01 00 00 49 89 f6 49 89 cc e8 [ 168.689818] RSP: 0018:ffffcdcb8200fb80 EFLAGS: 00010282 [ 168.690871] RAX: ffffffffaee74ec0 RBX: 0000000000000000 RCX: ffffffffb0120158 [ 168.692251] RDX: ffffcdcb8200fbe0 RSI: ffff88c187c9fa80 RDI: ffff88c186c98a80 [ 168.693593] RBP: ffffcdcb8200fbc0 R08: 0000000000000000 R09: 0000000000000000 [ 168.694941] R10: 0000000000000000 R11: 0000000000000000 R12: ffff88c186c98a80 [ 168.696289] R13: 00007fff005aaa20 R14: 0000000000000080 R15: ffff88c188f4fce0 [ 168.697637] FS: 0000790e81c58280(0000) GS:ffff88c20a957000(0000) knlGS:0000000000000000 [ 168.699227] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 168.700349] CR2: 0000000000000088 CR3: 000000012fd3e000 CR4: 0000000000350ef0 [ 168.701696] Call Trace: [ 168.702325] <TASK> [ 168.702995] rawdata_get_link_data+0x1c/0x30 [ 168.704145] vfs_readlink+0xd4/0x160 [ 168.705152] do_readlinkat+0x114/0x180 [ 168.706214] __x64_sys_readlink+0x1e/0x30 [ 168.708653] x64_sys_call+0x1d77/0x26b0 [ 168.709525] do_syscall_64+0x81/0x500 [ 168.710348] ? do_statx+0x72/0xb0 [ 168.711109] ? putname+0x3e/0x80 [ 168.711845] ? __x64_sys_statx+0xb7/0x100 [ 168.712711] ? x64_sys_call+0x10fc/0x26b0 [ 168.713577] ? do_syscall_64+0xbf/0x500 [ 168.714412] ? do_user_addr_fault+0x1d2/0x8d0 [ 168.715404] ? irqentry_exit+0xb2/0x740 [ 168.716359] ? exc_page_fault+0x90/0x1b0 [ 168.717307] entry_SYSCALL_64_after_hwframe+0x76/0x7e Fixes: 1180b4c757aab ("apparmor: fix dangling symlinks to policy rawdata after replacement") Signed-off-by: wanghao <wanghao865@huawei.com> | 8 天前 | |
ASoC: rt700-sdw: always drain jack work on remove stable inclusion from stable-v6.6.157 commit 1bb23c9d68312e77cec81bdfb2cc385e2d2960f7 category: bugfix issue: #1495 CVE: CVE-2026-93185 Signed-off-by: 姜小林 <jiangxiaolin11@h-partners.com> Co-Authored-By: Agent ------------------------------- ASoC: rt700-sdw: always drain jack work on remove [ Upstream commit 612ccf42acd14bb2685fa60c3495ca13e63e8989 ] rt700_sdw_remove() drains jack_detect_work and jack_btn_check_work only when rt700->hw_init is true. That state bit is cleared by rt700_update_status() when the SoundWire slave becomes UNATTACHED, but a jack work item can already have been queued by rt700_interrupt_callback() or rt700_jack_init() while the device was initialized. Do not use hw_init as the remove-time guard for draining these work objects. The delayed works are initialized during rt700_init(), so remove can cancel them unconditionally and pair the object lifetime with the codec-private data lifetime instead of a mutable hardware state bit. This issue was found by our static analysis tool and then confirmed by manual review of the SoundWire status, interrupt and remove paths. The remove path should drain work based on whether the work object exists, not on a runtime hardware state bit that can change after the work was queued. A QEMU PoC queued jack_detect_work, simulated SDW_SLAVE_UNATTACHED, and then entered remove. DEBUG_OBJECTS reported an active timer/work object associated with the rt700 jack work path after remove skipped the cancel. This is sent as an RFC because the practical trigger depends on SoundWire core remove ordering after an UNATTACHED status update. If remove cannot run after hw_init has been cleared while jack work is still pending, this is a defensive lifecycle cleanup rather than a reachable race on current systems. Fixes: 737ee8bdf682 ("ASoC: rt700-sdw: use cancel_work_sync() in .remove as well as .suspend") Signed-off-by: Runyu Xiao <runyu.xiao@seu.edu.cn> Link: https://patch.msgid.link/20260619122325.2504287-1-runyu.xiao@seu.edu.cn Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: 姜小林 <jiangxiaolin11@h-partners.com> AI[0%] Human Fixed[0%] Human[100%] AI Adopted[0%] Change-Id: I719cee28b7fd4576fdc7738ba5416e7573e70f03 | 2 个月前 | |
!464 merge cve-fix-20261123-master into master CVE修复: kernel_linux_6.6 master (325个安全补丁) - 2026-11-23 Created-by: wanghao794 Commit-by: wanghao;Mark Rutland;Zilin Guan;Masami Hiramatsu (Google);Xiao Kan;Kuen-Han Tsai;Douglas Anderson;Bingquan Chen;Michael Bommarito;Cen Zhang;Deepakkumar Karn;William Bowling;Dayu Jiang;Eric Biggers;Pengpeng Hou;Eric Dumazet;Jakub Kicinski;Sebastian Andrzej Siewior;Qanux;Jinqian Yang;Yiqi Sun;Linus Torvalds;Darrick J. Wong;Baokun Li;Prashanth K;Raul E Rangel;Theodore Ts'o;Guangshuo Li;Qi Tang;Oleh Konko;Al Viro;Luiz Augusto von Dentz;Johan Hovold;Ariel Silver;Florian Westphal;Lukas Wunner;Vahagn Vardanian;Niklas Cassel;Ahmet Eray Karadag;Junxiao Bi;Bart Van Assche;Hyunwoo Kim;Jiayuan Chen;Thomas Zimmermann;Shuvam Pandey;Aboorva Devarajan;Waqar Hameed;Rafael J. Wysocki;Suraj Kandpal;Keenan Dong;Catherine;Johannes Berg;Jann Horn;David Carlier;Alper Ak;Siwei Zhang;Georgia Garcia;Chen Jinghuang;Sergey Senozhatsky;Haoxiang Li;Yang Xiuwei;Weiming Shi;Benjamin Cheng;Ashutosh Desai;Jeongjun Park;Tudor Ambarus;Michal Kosiorek;Yilin Zhu;Sohei Koyama;Chia-Ming Chang;Yucheng Lu;Ruide Cao;Daniel Hodges;Luxiao Xu;Deepanshu Kartikey;Zhengchuan Liang;Chuck Lever;Paul Chaignon;Zhenzhong Wu;Yao Zi;Jinliang Zheng;Sai Ritvik Tanksalkar;Miklos Szeredi;Kai Zen;Brian Foster;Abhishek Bapat;Zhang Yi;Greg Kroah-Hartman;Penghe Geng;Mingyu Wang;Qingfang Deng;John Johansen;xietangxin;Felix Gu;Samuel Page;Ulf Hansson;Sechang Lim;Lang Xu;Jonathan Rissanen;Pauli Virtanen;Jan Kara;MingTao Huang;Zhiyu Zhang;Jiexun Wang;Wyatt Feng;Pablo Neira Ayuso;SeungJu Cheon;Yuqi Xu;Dudu Lu;Oliver Neukum;Minh Nguyen;Ido Schimmel;Michal Luczaj;Mykyta Yatsenko;Daniel Borkmann;Kuniyuki Iwashima;Linpu Yu;Herbert Xu;Haixin Xu;Cunlong Li;Ilya Leoshkevich;Janne Grunau;Sanghyun Park;Kyle Zeng;Sean Christopherson;Maxime Chevallier;Taegu Ha;Sun Jian;Haoze Xie;Safa Karakuş;Aleksandr Nogikh;Wolfram Sang;Christian A. Ehrhardt;Zhang Cen;Sabrina Dubroca;André Draszik;Muhammad Bilal;Dan Carpenter;Dmitry Torokhov;Jeremy Erazo;Ian Bridges;Wenjie Qi;Bryam Vargas;Chao Yu;Lee Jones;Wongi Lee;Rahul Chandelkar;Justin Iurman;David Ahern;Maoyi Xie;Hamza Mahfooz;Jingguo Tan;Yiming Qian;Jarkko Sakkinen;Stepan Ionichev;Kai Aizen;Dawei Feng;Runyu Xiao;Zhao Zhang;David Jeffery;Shaomin Chen;Denis Arefev;Joanne Koong;Yi Yang;Wentao Liang;Pratyush Yadav (Google);Alex Williamson;Vlad Poenaru;Taeyang Lee;Bartosz Golaszewski;Vlastimil Babka (SUSE);Xiang Mei;Zhao Li;Ruoyu Wang;Amir Goldstein;Alistair Popple;Pedro Falcato;Luca Coelho;Chengfeng Ye;Sudeep Holla;Zijun Hu;Unnathi Chalicheemala;Samuel Moelius;Chris Mason;Jiri Olsa;Yuho Choi;Hongchen Zhang;Hui Zhu;Christian Brauner;Zhan Xusheng;Xue Lei;Michael Wu;Shuangpeng Bai;Zhiling Zou;Ali Ahmet MEMIS;Chao Shi;Yi Cong;Zihan Xi;chanyoung;Xiang Mei (Microsoft);Hui Su;Jens Emil Schulz Østergaard;Mathias Krause;Laxman Acharya Padhya;HyeongJun An;Jérémy Jean;Linkai Gong;Rong Zhang;Eduard Zingerman;Maher Azzouzi;guoqi0226;Zizhi Wo Merged-by: openharmony_ci Description: ## CVE 修复列表 本 PR 包含 325 个 CVE 安全补丁的 cherry-pick,覆盖 master 分支上判定为受影响的所有漏洞。 ### 修复统计 - 直接 cherry-pick 成功: 325 个 - 空提交(补丁已存在): 16 个 - 冲突待 backport: 58 个 - 不受影响: 8 个 - 上游无补丁: 73 个 - 未完成(pipeline): 5 个 ### 涉及模块 文件系统(ext4/f2fs/exfat/nfs/ocfs2)、网络(netfilter/bluetooth/tcp/sctp)、安全(apparmor/selinux)、USB、HID、GPU、arch(arm64/x86/loongarch)等 关联 Issue: 待创建 See merge request: openharmony/kernel_linux_6.6!464 | 1 天前 | |
kbuild: hdrcheck: fix cross build with clang stable inclusion from stable-6.6.83 commit 128962f5ab565a8c3251c7a86a31e072ed288f18 category: bugfix issue: #IC1IVT CVE: NA Signed-off-by: zyf1116 <zhouyongfei3@huawei.com> --------------------------------------- [ Upstream commit 02e9a22ceef0227175e391902d8760425fa072c6 ] The headercheck tries to call clang with a mix of compiler arguments that don't include the target architecture. When building e.g. x86 headers on arm64, this produces a warning like clang: warning: unknown platform, assuming -mfloat-abi=soft Add in the KBUILD_CPPFLAGS, which contain the target, in order to make it build properly. See also 1b71c2fb04e7 ("kbuild: userprogs: fix bitsize and target detection on clang"). Reviewed-by: Nathan Chancellor <nathan@kernel.org> Fixes: feb843a469fb ("kbuild: add $(CLANG_FLAGS) to KBUILD_CPPFLAGS") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: zyf1116 <zhouyongfei3@huawei.com> | 1 年前 | |
KVM: Don't WARN if memory is dirtied without a vCPU when the VM is dying commit 8618004d3e897c0f1b71d9a9ab860461289bb89a upstream. When marking a page dirty, complain about not having a running/loaded vCPU if and only if the VM is still alive, i.e. its refcount is non-zero. This will allow fixing a memory leak for x86 SEV-ES guests without hitting what is effectively a false positive on the WARN. For some SEV-ES VM-Exits, KVM keeps a writable mapping of a guest page across an exit to userspace, and typically unmaps the page on the next KVM_RUN. But if userspace never calls KVM_RUN after such an exit, then KVM needs to unmap the page when the vCPU is destroyed, which in turn triggers the WARN about not having a running vCPU. Alternatively, SEV-ES could temporarily load the vCPU to suppress the WARN, as is done in nested_vmx_free_vcpu() (but for completely unrelated reasons; suppressing WARN from nested_put_vmcs12_pages() is pure happenstance). But loading a vCPU during destruction is gross (ideally nVMX code would be cleaned up), risks complicating the SEV-ES code (KVM would need to ensure the temporarily load()+put() only runs when the vCPU isn't already loaded), and is ultimately pointless. The motivation for the WARN is to guard against KVM dirtying guest memory without pushing the corresponding GFN to the active vCPU's dirty ring, e.g. to ensure userspace doesn't miss a dirty page. But for the VM's refcount to reach zero, there can't be _any_ userspace mappings to the dirty ring, as mapping the dirty ring requires doing mmap() on the vCPU FD. I.e. if userspace had a valid mapping for the dirty ring, then the vCPU file and thus the owning VM would still be alive. And so since userspace can't possibly reach the dirty ring, whether or not KVM technically "misses" a push to the dirty ring is irrelevant. Reported-by: Michael Roth <michael.roth@amd.com> Cc: stable@vger.kernel.org Reviewed-by: Michael Roth <michael.roth@amd.com> Message-ID: <20260501202250.2115252-15-seanjc@google.com> Message-ID: <20260529183549.1104619-15-pbonzini@redhat.com> Signed-off-by: wanghao <wanghao865@huawei.com> | 8 天前 | |
iommu: Add for_each_group_device() Convenience macro to iterate over every struct group_device in the group. Replace all open coded list_for_each_entry's with this macro. Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com> Reviewed-by: Kevin Tian <kevin.tian@intel.com> Tested-by: Heiko Stuebner <heiko@sntech.de> Tested-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/2-v5-1b99ae392328+44574-iommu_err_unwind_jgg@nvidia.com Signed-off-by: Joerg Roedel <jroedel@suse.de> | 3 年前 | |
scripts: add Linux .cocciconfig for coccinelle Coccinelle supports reading .cocciconfig, the order of precedence for variables for .cocciconfig is as follows: o Your current user's home directory is processed first o Your directory from which spatch is called is processed next o The directory provided with the --dir option is processed last, if used Since coccicheck runs through make, it naturally runs from the kernel proper dir, as such the second rule above would be implied for picking up a .cocciconfig when using 'make coccicheck'. 'make coccicheck' also supports using M= targets.If you do not supply any M= target, it is assumed you want to target the entire kernel. The kernel coccicheck script has: if [ "$KBUILD_EXTMOD" = "" ] ; then OPTIONS="--dir $srctree $COCCIINCLUDE" else OPTIONS="--dir $KBUILD_EXTMOD $COCCIINCLUDE" fi KBUILD_EXTMOD is set when an explicit target with M= is used. For both cases the spatch --dir argument is used, as such third rule applies when whether M= is used or not, and when M= is used the target directory can have its own .cocciconfig file. When M= is not passed as an argument to coccicheck the target directory is the same as the directory from where spatch was called. If not using the kernel's coccicheck target, keep the above precedence order logic of .cocciconfig reading. If using the kernel's coccicheck target, override any of the kernel's .coccicheck's settings using SPFLAGS. We help Coccinelle when used against Linux with a set of sensible defaults options for Linux with our own Linux .cocciconfig. This hints to coccinelle git can be used for 'git grep' queries over coccigrep. A timeout of 200 seconds should suffice for now. The options picked up by coccinelle when reading a .cocciconfig do not appear as arguments to spatch processes running on your system, to confirm what options will be used by Coccinelle run: spatch --print-options-only You can override with your own preferred index option by using SPFLAGS. Coccinelle supports both glimpse and idutils. Glimpse had historically provided the best performance, however recent benchmarks reveal idutils is performing just as well. Due to some recent fixes however you however will need at least coccinelle >= 1.0.6 if using idutils. Coccinelle carries a script scripts/idutils_index.sh which creates the idutils database with as follows: mkid -i C --output .id-utils.index If using just "--use-idutils" coccinelle expects your idutils database to be on the top level of the kernel as a file named ".id-utils.index". If you do not use this you can symlink your database file to it, or you can specify the database file following the "--use-idutils" argument. Examples: make SPFLAGS=--use-idutils coccicheck This assumes you have $srctree/.id-utils.index, where $srctree is the top level of the kernel. make SPFLAGS="--use-idutils /full-path/to/ID" coccicheck Here you specify the full path of the idutils ID database. Using .cocciconfig is possible, however given the order of precedence followed by Coccinelle, and since the kernel now carries its own .cocciconfig, you will need to use SPFLAGS to use idutils if desired. v4: o Recommend upgrade for using idutils with coccinelle due to some recent fixes. o Refer to using --print-options-only for testing what options are picked up by .cocciconfig reading. o Expand commit log considerably explaining *why* .cocconfig from two precedence rules are used when using coccicheck, and how to properly override these if needed. o Expand Documentation/coccinelle.txt v3: Expand commit log a bit more Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Michal Marek <mmarek@suse.com> | 10 年前 | |
get_maintainer: add Alan to .get_maintainer.ignore Alan asked to be added to the .get_maintainer.ignore list. Link: https://lkml.kernel.org/r/YvN30KhO9aD5Sza9@kili Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> | 4 年前 | |
.gitattributes: set diff driver for Rust source code files Git supports a builtin Rust diff driver [1] since v2.23.0 (2019). It improves the choice of hunk headers in some cases, such as diffs within methods, since those are indented in Rust within an impl block, and therefore the default diff driver would pick the outer impl block instead (rather than the method where the changed code is). For instance, with the default diff driver: @@ -455,6 +455,8 @@ impl fmt::Write for RawFormatter { // Amount that we can copy. saturating_sub ensures we get 0 if pos goes past end. let len_to_copy = core::cmp::min(pos_new, self.end).saturating_sub(self.pos); + test_diff_driver(); + if len_to_copy > 0 { // SAFETY: If len_to_copy is non-zero, then we know pos has not gone past end // yet, so it is valid for write per the type invariants. With the Rust diff driver: @@ -455,6 +455,8 @@ fn write_str(&mut self, s: &str) -> fmt::Result { // Amount that we can copy. saturating_sub ensures we get 0 if pos goes past end. let len_to_copy = core::cmp::min(pos_new, self.end).saturating_sub(self.pos); + test_diff_driver(); + if len_to_copy > 0 { // SAFETY: If len_to_copy is non-zero, then we know pos has not gone past end // yet, so it is valid for write per the type invariants. Thus set the rust diff driver for *.rs source files. The Rust repository also does so since 2020 [2]. Link: https://git-scm.com/docs/gitattributes#_defining_a_custom_hunk_header [1] Link: https://github.com/rust-lang/rust/pull/78882 [2] Reviewed-by: Gary Guo <gary@garyguo.net> Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com> Reviewed-by: Benno Lossin <benno.lossin@proton.me> Link: https://lore.kernel.org/r/20230418233048.335281-1-ojeda@kernel.org [ Added link to Rust repository ] Signed-off-by: Miguel Ojeda <ojeda@kernel.org> | 3 年前 | |
Remove *.orig pattern from .gitignore stable inclusion from stable-6.6.54 commit 38dee6edb700d381d5ade626c67a7d63aca97a5e category: bugfix issue: #IB7W7N CVE: NA Signed-off-by: zhangshuqi <zhangshuqi3@huawei.com> --------------------------------------- commit 76be4f5a784533c71afbbb1b8f2963ef9e2ee258 upstream. Commit 3f1b0e1f2875 (".gitignore update") added *.orig and *.rej patterns to .gitignore in v2.6.23. The commit message didn't give a rationale. Later on, commit 1f5d3a6b6532 ("Remove *.rej pattern from .gitignore") removed the *.rej pattern in v2.6.26, on the rationale that *.rej files indicated something went really wrong and should not be ignored. The *.rej files are now shown by git status, which helps located conflicts when applying patches and lowers the probability that they will go unnoticed. It is however still easy to overlook the *.orig files which slowly polute the source tree. That's not as big of a deal as not noticing a conflict, but it's still not nice. Drop the *.orig pattern from .gitignore to avoid this and help keep the source tree clean. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> [masahiroy@kernel.org: I do not have a strong opinion about this. Perhaps some people may have a different opinion. If you are someone who wants to ignore *.orig, it is likely you would want to do so across all projects. Then, $XDG_CONFIG_HOME/git/ignore would be more suitable for your needs. gitignore(5) suggests, "Patterns which a user wants Git to ignore in all situations generally go into a file specified by core.excludesFile in the user's ~/.gitconfig". Please note that you cannot do the opposite; if *.orig is ignored by the project's .gitignore, you cannot override the decision because $XDG_CONFIG_HOME/git/ignore has a lower priority. If *.orig is sitting on the fence, I'd leave it to the users. ] Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: zhangshuqi <zhangshuqi3@huawei.com> | 1 年前 | |
Merge tag 'mm-hotfixes-stable-2023-10-24-09-40' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Pull misc fixes from Andrew Morton: "20 hotfixes. 12 are cc:stable and the remainder address post-6.5 issues or aren't considered necessary for earlier kernel versions" * tag 'mm-hotfixes-stable-2023-10-24-09-40' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: maple_tree: add GFP_KERNEL to allocations in mas_expected_entries() selftests/mm: include mman header to access MREMAP_DONTUNMAP identifier mailmap: correct email aliasing for Oleksij Rempel mailmap: map Bartosz's old address to the current one mm/damon/sysfs: check DAMOS regions update progress from before_terminate() MAINTAINERS: Ondrej has moved kasan: disable kasan_non_canonical_hook() for HW tags kasan: print the original fault addr when access invalid shadow hugetlbfs: close race between MADV_DONTNEED and page fault hugetlbfs: extend hugetlb_vma_lock to private VMAs hugetlbfs: clear resv_map pointer if mmap fails mm: zswap: fix pool refcount bug around shrink_worker() mm/migrate: fix do_pages_move for compat pointers riscv: fix set_huge_pte_at() for NAPOT mappings when a swap entry is set riscv: handle VM_FAULT_[HWPOISON|HWPOISON_LARGE] faults instead of panicking mmap: fix error paths with dup_anon_vma() mmap: fix vma_iterator in error path of vma_merge() mm: fix vm_brk_flags() to not bail out while holding lock mm/mempolicy: fix set_mempolicy_home_node() previous VMA pointer mm/page_alloc: correct start page when guard page debug is enabled | 3 年前 | |
rust: add .rustfmt.toml This is the configuration file for the rustfmt tool. rustfmt is a tool for formatting Rust code according to style guidelines. It is very commonly used across Rust projects. The default configuration options are used. Reviewed-by: Kees Cook <keescook@chromium.org> Co-developed-by: Alex Gaynor <alex.gaynor@gmail.com> Signed-off-by: Alex Gaynor <alex.gaynor@gmail.com> Co-developed-by: Wedson Almeida Filho <wedsonaf@google.com> Signed-off-by: Wedson Almeida Filho <wedsonaf@google.com> Signed-off-by: Miguel Ojeda <ojeda@kernel.org> | 4 年前 | |
COPYING: state that all contributions really are covered by this file Explicitly state that all contributions to the kernel source tree really are covered under this COPYING file in case someone thought otherwise. Lawyers love to be pedantic, even more so than software engineers at times, and this sentence makes them sleep easier. Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Link: https://lore.kernel.org/r/20200206154800.GA3754085@kroah.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 6 年前 | |
USB: Remove Wireless USB and UWB documentation Support for Wireless USB and Ultra WideBand was removed in 2020 by commit caa6772db4c1 ("Staging: remove wusbcore and UWB from the kernel tree."). But the documentation files were left behind. Let's get rid of that out-of-date documentation. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Link: https://lore.kernel.org/r/015d4310-bcd3-4ba4-9a0e-3664f281a9be@rowland.harvard.edu Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 3 年前 | |
Merge tag 'kbuild-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild Pull Kbuild updates from Masahiro Yamada: - Remove potentially incomplete targets when Kbuid is interrupted by SIGINT etc in case GNU Make may miss to do that when stderr is piped to another program. - Rewrite the single target build so it works more correctly. - Fix rpm-pkg builds with V=1. - List top-level subdirectories in ./Kbuild. - Ignore auto-generated __kstrtab_* and __kstrtabns_* symbols in kallsyms. - Avoid two different modules in lib/zstd/ having shared code, which potentially causes building the common code as build-in and modular back-and-forth. - Unify two modpost invocations to optimize the build process. - Remove head-y syntax in favor of linker scripts for placing particular sections in the head of vmlinux. - Bump the minimal GNU Make version to 3.82. - Clean up misc Makefiles and scripts. * tag 'kbuild-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (41 commits) docs: bump minimal GNU Make version to 3.82 ia64: simplify esi object addition in Makefile Revert "kbuild: Check if linker supports the -X option" kbuild: rebuild .vmlinux.export.o when its prerequisite is updated kbuild: move modules.builtin(.modinfo) rules to Makefile.vmlinux_o zstd: Fixing mixed module-builtin objects kallsyms: ignore __kstrtab_* and __kstrtabns_* symbols kallsyms: take the input file instead of reading stdin kallsyms: drop duplicated ignore patterns from kallsyms.c kbuild: reuse mksysmap output for kallsyms mksysmap: update comment about __crc_* kbuild: remove head-y syntax kbuild: use obj-y instead extra-y for objects placed at the head kbuild: hide error checker logs for V=1 builds kbuild: re-run modpost when it is updated kbuild: unify two modpost invocations kbuild: move vmlinux.o rule to the top Makefile kbuild: move .vmlinux.objs rule to Makefile.modpost kbuild: list sub-directories in ./Kbuild Makefile.compiler: replace cc-ifversion with compiler-specific macros ... | 4 年前 | |
kbuild: ensure full rebuild when the compiler is updated Commit 21c54b774744 ("kconfig: show compiler version text in the top comment") added the environment variable, CC_VERSION_TEXT in the comment of the top Kconfig file. It can detect the compiler update, and invoke the syncconfig because all environment variables referenced in Kconfig files are recorded in include/config/auto.conf.cmd This commit makes it a CONFIG option in order to ensure the full rebuild when the compiler is updated. This works like follows: include/config/kconfig.h contains "CONFIG_CC_VERSION_TEXT" in the comment block. The top Makefile specifies "-include $(srctree)/include/linux/kconfig.h" to guarantee it is included from all kernel source files. fixdep parses every source file and all headers included from it, searching for words prefixed with "CONFIG_". Then, fixdep finds CONFIG_CC_VERSION_TEXT in include/config/kconfig.h and adds include/config/cc/version/text.h into every .*.cmd file. When the compiler is updated, syncconfig is invoked because init/Kconfig contains the reference to the environment variable CC_VERTION_TEXT. CONFIG_CC_VERSION_TEXT is updated to the new version string, and include/config/cc/version/text.h is touched. In the next rebuild, Make will rebuild every files since the timestamp of include/config/cc/version/text.h is newer than that of target. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> | 6 年前 | |
sign-file,extract-cert: move common SSL helper functions to a header stable inclusion from stable-6.6.88 commit 1e2d849efc3225398cfb18fb5d9232fa6ab4851c category: bugfix issue: #IC6IH3 CVE: NA Signed-off-by: zyf1116 <zhouyongfei3@huawei.com> --------------------------------------- commit 300e6d4116f956b035281ec94297dc4dc8d4e1d3 upstream. Couple error handling helpers are repeated in both tools, so move them to a common header. Signed-off-by: Jan Stancek <jstancek@redhat.com> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Tested-by: R Nageswara Sastry <rnsastry@linux.ibm.com> Reviewed-by: Neal Gompa <neal@gompa.dev> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: zyf1116 <zhouyongfei3@huawei.com> create mode 100644 scripts/ssl-common.h Signed-off-by: zyf1116 <zhouyongfei3@huawei.com> | 1 年前 | |
回退 'Pull Request !193 : lts升级 6.6.101->6.6.102' | 1 年前 | |
[Subject] Fixes#HHHOSPC-3[Body] sharefs补齐ioctl及casefold测试用例 Signed-off-by: li-yiting <liyiting12@huawei.com> Change-Id: I844bc8e7c7ba742512bd1980dd4d18dbb12ae1a7 | 1 个月前 | |
Drop all 00-INDEX files from Documentation/ This is a respin with a wider audience (all that get_maintainer returned) and I know this spams a *lot* of people. Not sure what would be the correct way, so my apologies for ruining your inbox. The 00-INDEX files are supposed to give a summary of all files present in a directory, but these files are horribly out of date and their usefulness is brought into question. Often a simple "ls" would reveal the same information as the filenames are generally quite descriptive as a short introduction to what the file covers (it should not surprise anyone what Documentation/sched/sched-design-CFS.txt covers) A few years back it was mentioned that these files were no longer really needed, and they have since then grown further out of date, so perhaps it is time to just throw them out. A short status yields the following _outdated_ 00-INDEX files, first counter is files listed in 00-INDEX but missing in the directory, last is files present but not listed in 00-INDEX. List of outdated 00-INDEX: Documentation: (4/10) Documentation/sysctl: (0/1) Documentation/timers: (1/0) Documentation/blockdev: (3/1) Documentation/w1/slaves: (0/1) Documentation/locking: (0/1) Documentation/devicetree: (0/5) Documentation/power: (1/1) Documentation/powerpc: (0/5) Documentation/arm: (1/0) Documentation/x86: (0/9) Documentation/x86/x86_64: (1/1) Documentation/scsi: (4/4) Documentation/filesystems: (2/9) Documentation/filesystems/nfs: (0/2) Documentation/cgroup-v1: (0/2) Documentation/kbuild: (0/4) Documentation/spi: (1/0) Documentation/virtual/kvm: (1/0) Documentation/scheduler: (0/2) Documentation/fb: (0/1) Documentation/block: (0/1) Documentation/networking: (6/37) Documentation/vm: (1/3) Then there are 364 subdirectories in Documentation/ with several files that are missing 00-INDEX alltogether (and another 120 with a single file and no 00-INDEX). I don't really have an opinion to whether or not we /should/ have 00-INDEX, but the above 00-INDEX should either be removed or be kept up to date. If we should keep the files, I can try to keep them updated, but I rather not if we just want to delete them anyway. As a starting point, remove all index-files and references to 00-INDEX and see where the discussion is going. Signed-off-by: Henrik Austad <henrik@austad.us> Acked-by: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> Just-do-it-by: Steven Rostedt <rostedt@goodmis.org> Reviewed-by: Jens Axboe <axboe@kernel.dk> Acked-by: Paul Moore <paul@paul-moore.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Mark Brown <broonie@kernel.org> Acked-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Cc: [Almost everybody else] Signed-off-by: Jonathan Corbet <corbet@lwn.net> | 8 年前 | |
kernel 6.6.89 Signed-off-by: zyf1116 <zhouyongfei3@huawei.com> | 1 年前 | |
add reamde file Signed-off-by: 朱佳鑫 <zhujiaxin@huawei.com> | 2 年前 |
以下内容由 AI 翻译,如有问题请 点此提交 issue 反馈
Linux内核
为内核开发者与用户提供了多种指南。这些指南可转换为多种格式,例如HTML和PDF。请首先阅读Documentation/admin-guide/README.rst。
为了构建文档,请使用make htmldocs或make pdfdocs。格式化后的文档也可以在线阅读:
https://www.kernel.org/doc/html/latest/
在Documentation/子目录下有多个文本文件,其中一些采用了Restructured Text标记符号。
请阅读Documentation/process/changes.rst文件,因为它包含了构建和运行内核的要求,以及升级内核可能会遇到的问题信息。