Package: apt Version: 2.6.1 Severity: important X-Debbugs-Cc: sujiannm...@gmail.com
Dear Maintainer, Running apt-get update causes kernel BUG as reported in 1051643. apt-get update hangs: root@mini2:~# apt-get update Hit:1 http://security.debian.org/debian-security bookworm-security InRelease Hit:2 http://ftp.us.debian.org/debian bookworm InRelease 0% [Waiting for headers] Message from syslogd@mini2 at Nov 21 11:03:18 ... kernel:[ 1408.563302] usercopy: Kernel memory exposure attempt detected from kmap (offset 0, size 16384)! Message from syslogd@mini2 at Nov 21 11:03:18 ... kernel:[ 1408.563302] usercopy: Kernel memory exposure attempt detected from kmap (offset 0, size 16384)! 0% [Waiting for headers] [ 1052.992515] invalid opcode: 0000 [#1] PREEMPT SMP [ 1052.992568] CPU: 1 PID: 1098 Comm: http Not tainted 6.1.0-13-686 #1 Debian 6.1.55-1 [ 1052.992648] Hardware name: Apple Computer, Inc. Macmini1,1/Mac-F4208EC8, BIOS MM11.88Z.0055.B08.0610121326 10/12/06 [ 1052.992742] EIP: usercopy_abort+0x65/0x67 [ 1052.992794] Code: 44 cb bb 98 0f b2 ce 89 4d f0 b9 d2 8a b0 ce 0f 45 cb ff 75 0c ff 75 08 57 52 56 50 ff 75 f0 51 68 38 0f b2 ce e8 7e 8e ff ff <0f> 0b 56 31 d2 b8 e2 0f b2 ce ff 75 ec 8b 4d f0 e8 86 ff ff ff 56 [ 1052.992951] EAX: 00000053 EBX: ceb20f98 ECX: 00000001 EDX: 00000001 [ 1052.993012] ESI: ceb37a98 EDI: ceb37a98 EBP: c21afcf0 ESP: c21afcbc [ 1052.993073] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 EFLAGS: 00010246 [ 1052.993139] CR0: 80050033 CR2: b7348e90 CR3: 35f13000 CR4: 000006d0 [ 1052.993201] Call Trace: [ 1052.993234] ? __die_body.cold+0x14/0x1a [ 1052.993284] ? __die+0x21/0x26 [ 1052.993324] ? die+0x28/0x50 [ 1052.993367] ? do_trap+0xbb/0xe0 [ 1052.993410] ? do_error_trap+0x4c/0x60 [ 1052.993457] ? usercopy_abort+0x65/0x67 [ 1052.993501] ? exc_overflow+0x40/0x40 [ 1052.993546] ? exc_invalid_op+0x44/0x60 [ 1052.993591] ? usercopy_abort+0x65/0x67 [ 1052.993635] ? handle_exception+0x133/0x133 [ 1052.993686] ? exc_overflow+0x40/0x40 [ 1052.993730] ? usercopy_abort+0x65/0x67 [ 1052.993774] ? exc_overflow+0x40/0x40 [ 1052.993817] ? usercopy_abort+0x65/0x67 [ 1052.993864] __check_object_size.cold+0xae/0xae [ 1052.993915] ? kmap_high+0x6f/0x1f0 [ 1052.993961] simple_copy_to_iter+0x1c/0x40 [ 1052.994011] __skb_datagram_iter+0x163/0x320 [ 1052.994065] skb_copy_datagram_iter+0x2d/0x80 [ 1052.994114] ? skb_free_datagram+0x20/0x20 [ 1052.994162] tcp_recvmsg_locked+0x30e/0x890 [ 1052.994217] tcp_recvmsg+0x6f/0x1e0 [ 1052.994264] ? tcp_recv_timestamp+0x240/0x240 [ 1052.994313] inet_recvmsg+0x54/0x130 [ 1052.994357] ? security_socket_recvmsg+0x41/0x60 [ 1052.994415] sock_recvmsg+0x73/0x90 [ 1052.994459] ? ipip_gso_segment+0x30/0x30 [ 1052.994505] sock_read_iter+0x84/0xe0 [ 1052.994554] vfs_read+0x288/0x2c0 [ 1052.994601] ksys_read+0xab/0xe0 [ 1052.994645] __ia32_sys_read+0x15/0x20 [ 1052.994692] __do_fast_syscall_32+0x68/0xb0 [ 1052.996498] ? irqentry_exit_to_user_mode+0x16/0x20 [ 1052.998312] do_fast_syscall_32+0x29/0x60 [ 1053.000123] do_SYSENTER_32+0x15/0x20 [ 1053.001867] entry_SYSENTER_32+0x98/0xf1 [ 1053.003557] EIP: 0xb7f1a559 [ 1053.005231] Code: 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d 76 00 58 b8 77 00 00 00 cd 80 90 8d 76 [ 1053.008828] EAX: ffffffda EBX: 00000003 ECX: 013e8328 EDX: 0000fe88 [ 1053.010628] ESI: b776cff4 EDI: 00000000 EBP: 013e73c0 ESP: bff4e230 [ 1053.012351] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b EFLAGS: 00000246 [ 1053.014050] Modules linked in: tls tun xt_tcpudp xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat snd_hda_codec_idt nf_tables i915 snd_hda_codec_generic ledtrig_audio snd_hda_intel snd_intel_dspcfg drm_buddy snd_intel_sdw_acpi snd_hda_codec drm_display_helper cec snd_hda_core rc_core ttm snd_hwdep snd_pcm ath5k drm_kms_helper ath i2c_algo_bit fb_sys_fops snd_timer syscopyarea mac80211 sysfillrect sysimgblt snd nfnetlink coretemp iTCO_wdt soundcore libarc4 intel_pmc_bxt kvm_intel cfg80211 iTCO_vendor_support watchdog applesmc kvm irqbypass rfkill evdev pcspkr apple_mfi_fastcharge at24 sg tpm_infineon acpi_cpufreq button binfmt_misc firewire_sbp2 drm loop dm_mod efi_pstore fuse configfs ip_tables x_tables autofs4 xfs libcrc32c crc32c_generic hid_appleir hid_generic usbhid hid sd_mod t10_pi crc64_rocksoft sr_mod crc64 cdrom crc_t10dif crct10dif_generic crct10dif_common ata_generic ahci ata_piix libahci libata scsi_mod ehci_pci firewire_ohci i2c_i801 firewire_core [ 1053.014324] i2c_smbus scsi_common uhci_hcd lpc_ich ehci_hcd crc_itu_t usbcore sky2 usb_common video wmi [ 1053.029507] ---[ end trace 0000000000000000 ]--- [ 1053.031262] EIP: usercopy_abort+0x65/0x67 [ 1053.032941] Code: 44 cb bb 98 0f b2 ce 89 4d f0 b9 d2 8a b0 ce 0f 45 cb ff 75 0c ff 75 08 57 52 56 50 ff 75 f0 51 68 38 0f b2 ce e8 7e 8e ff ff <0f> 0b 56 31 d2 b8 e2 0f b2 ce ff 75 ec 8b 4d f0 e8 86 ff ff ff 56 [ 1053.036513] EAX: 00000053 EBX: ceb20f98 ECX: 00000001 EDX: 00000001 [ 1053.038354] ESI: ceb37a98 EDI: ceb37a98 EBP: c21afcf0 ESP: c21afcbc [ 1053.040272] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 EFLAGS: 00010246 [ 1053.042126] CR0: 80050033 CR2: b7348e90 CR3: 35f13000 CR4: 000006d0 -- Package-specific info: -- apt-config dump -- APT ""; APT::Architecture "i386"; APT::Build-Essential ""; APT::Build-Essential:: "build-essential"; APT::Install-Recommends "1"; APT::Install-Suggests "0"; APT::Sandbox ""; APT::Sandbox::User "_apt"; APT::Authentication ""; APT::Authentication::TrustCDROM "true"; APT::NeverAutoRemove ""; APT::NeverAutoRemove:: "^firmware-linux.*"; APT::NeverAutoRemove:: "^linux-firmware$"; APT::NeverAutoRemove:: "^linux-image-[a-z0-9]*$"; APT::NeverAutoRemove:: "^linux-image-[a-z0-9]*-[a-z0-9]*$"; APT::VersionedKernelPackages ""; APT::VersionedKernelPackages:: "linux-.*"; APT::VersionedKernelPackages:: "kfreebsd-.*"; APT::VersionedKernelPackages:: "gnumach-.*"; APT::VersionedKernelPackages:: ".*-modules"; APT::VersionedKernelPackages:: ".*-kernel"; APT::Never-MarkAuto-Sections ""; APT::Never-MarkAuto-Sections:: "metapackages"; APT::Never-MarkAuto-Sections:: "tasks"; APT::Move-Autobit-Sections ""; APT::Move-Autobit-Sections:: "oldlibs"; APT::Architectures ""; APT::Architectures:: "i386"; APT::Compressor ""; APT::Compressor::. ""; APT::Compressor::.::Name "."; APT::Compressor::.::Extension ""; APT::Compressor::.::Binary ""; APT::Compressor::.::Cost "0"; APT::Compressor::zstd ""; APT::Compressor::zstd::Name "zstd"; APT::Compressor::zstd::Extension ".zst"; APT::Compressor::zstd::Binary "zstd"; APT::Compressor::zstd::Cost "60"; APT::Compressor::zstd::CompressArg ""; APT::Compressor::zstd::CompressArg:: "-19"; APT::Compressor::zstd::UncompressArg ""; APT::Compressor::zstd::UncompressArg:: "-d"; APT::Compressor::lz4 ""; APT::Compressor::lz4::Name "lz4"; APT::Compressor::lz4::Extension ".lz4"; APT::Compressor::lz4::Binary "false"; APT::Compressor::lz4::Cost "50"; APT::Compressor::gzip ""; APT::Compressor::gzip::Name "gzip"; APT::Compressor::gzip::Extension ".gz"; APT::Compressor::gzip::Binary "gzip"; APT::Compressor::gzip::Cost "100"; APT::Compressor::gzip::CompressArg ""; APT::Compressor::gzip::CompressArg:: "-6n"; APT::Compressor::gzip::UncompressArg ""; APT::Compressor::gzip::UncompressArg:: "-d"; APT::Compressor::xz ""; APT::Compressor::xz::Name "xz"; APT::Compressor::xz::Extension ".xz"; APT::Compressor::xz::Binary "xz"; APT::Compressor::xz::Cost "200"; APT::Compressor::xz::CompressArg ""; APT::Compressor::xz::CompressArg:: "-6"; APT::Compressor::xz::UncompressArg ""; APT::Compressor::xz::UncompressArg:: "-d"; APT::Compressor::bzip2 ""; APT::Compressor::bzip2::Name "bzip2"; APT::Compressor::bzip2::Extension ".bz2"; APT::Compressor::bzip2::Binary "bzip2"; APT::Compressor::bzip2::Cost "300"; APT::Compressor::bzip2::CompressArg ""; APT::Compressor::bzip2::CompressArg:: "-6"; APT::Compressor::bzip2::UncompressArg ""; APT::Compressor::bzip2::UncompressArg:: "-d"; APT::Compressor::lzma ""; APT::Compressor::lzma::Name "lzma"; APT::Compressor::lzma::Extension ".lzma"; APT::Compressor::lzma::Binary "xz"; APT::Compressor::lzma::Cost "400"; APT::Compressor::lzma::CompressArg ""; APT::Compressor::lzma::CompressArg:: "--format=lzma"; APT::Compressor::lzma::CompressArg:: "-6"; APT::Compressor::lzma::UncompressArg ""; APT::Compressor::lzma::UncompressArg:: "--format=lzma"; APT::Compressor::lzma::UncompressArg:: "-d"; Dir "/"; Dir::State "var/lib/apt"; Dir::State::lists "lists/"; Dir::State::cdroms "cdroms.list"; Dir::State::extended_states "extended_states"; Dir::State::status "/var/lib/dpkg/status"; Dir::Cache "var/cache/apt"; Dir::Cache::archives "archives/"; Dir::Cache::srcpkgcache "srcpkgcache.bin"; Dir::Cache::pkgcache "pkgcache.bin"; Dir::Etc "etc/apt"; Dir::Etc::sourcelist "sources.list"; Dir::Etc::sourceparts "sources.list.d"; Dir::Etc::main "apt.conf"; Dir::Etc::netrc "auth.conf"; Dir::Etc::netrcparts "auth.conf.d"; Dir::Etc::parts "apt.conf.d"; Dir::Etc::preferences "preferences"; Dir::Etc::preferencesparts "preferences.d"; Dir::Etc::trusted "trusted.gpg"; Dir::Etc::trustedparts "trusted.gpg.d"; Dir::Etc::apt-listchanges-main "listchanges.conf"; Dir::Etc::apt-listchanges-parts "listchanges.conf.d"; Dir::Bin ""; Dir::Bin::methods "/usr/lib/apt/methods"; Dir::Bin::solvers ""; Dir::Bin::solvers:: "/usr/lib/apt/solvers"; Dir::Bin::planners ""; Dir::Bin::planners:: "/usr/lib/apt/planners"; Dir::Bin::dpkg "/usr/bin/dpkg"; Dir::Bin::gzip "/bin/gzip"; Dir::Bin::bzip2 "/bin/bzip2"; Dir::Bin::xz "/usr/bin/xz"; Dir::Bin::lz4 "/usr/bin/lz4"; Dir::Bin::zstd "/usr/bin/zstd"; Dir::Bin::lzma "/usr/bin/xz"; Dir::Media ""; Dir::Media::MountPath "/media/cdrom"; Dir::Log "var/log/apt"; Dir::Log::Terminal "term.log"; Dir::Log::History "history.log"; Dir::Log::Planner "eipp.log.xz"; Dir::Ignore-Files-Silently ""; Dir::Ignore-Files-Silently:: "~$"; Dir::Ignore-Files-Silently:: "\.disabled$"; Dir::Ignore-Files-Silently:: "\.bak$"; Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$"; Dir::Ignore-Files-Silently:: "\.ucf-[a-z]+$"; Dir::Ignore-Files-Silently:: "\.save$"; Dir::Ignore-Files-Silently:: "\.orig$"; Dir::Ignore-Files-Silently:: "\.distUpgrade$"; Acquire ""; Acquire::AllowInsecureRepositories "0"; Acquire::AllowWeakRepositories "0"; Acquire::AllowDowngradeToInsecureRepositories "0"; Acquire::cdrom ""; Acquire::cdrom::mount "/media/cdrom"; Acquire::IndexTargets ""; Acquire::IndexTargets::deb ""; Acquire::IndexTargets::deb::Packages ""; Acquire::IndexTargets::deb::Packages::MetaKey "$(COMPONENT)/binary-$(ARCHITECTURE)/Packages"; Acquire::IndexTargets::deb::Packages::flatMetaKey "Packages"; Acquire::IndexTargets::deb::Packages::ShortDescription "Packages"; Acquire::IndexTargets::deb::Packages::Description "$(RELEASE)/$(COMPONENT) $(ARCHITECTURE) Packages"; Acquire::IndexTargets::deb::Packages::flatDescription "$(RELEASE) Packages"; Acquire::IndexTargets::deb::Packages::Optional "0"; Acquire::IndexTargets::deb::Translations ""; Acquire::IndexTargets::deb::Translations::MetaKey "$(COMPONENT)/i18n/Translation-$(LANGUAGE)"; Acquire::IndexTargets::deb::Translations::flatMetaKey "$(LANGUAGE)"; Acquire::IndexTargets::deb::Translations::ShortDescription "Translation-$(LANGUAGE)"; Acquire::IndexTargets::deb::Translations::Description "$(RELEASE)/$(COMPONENT) Translation-$(LANGUAGE)"; Acquire::IndexTargets::deb::Translations::flatDescription "$(RELEASE) Translation-$(LANGUAGE)"; Acquire::IndexTargets::deb-src ""; Acquire::IndexTargets::deb-src::Sources ""; Acquire::IndexTargets::deb-src::Sources::MetaKey "$(COMPONENT)/source/Sources"; Acquire::IndexTargets::deb-src::Sources::flatMetaKey "Sources"; Acquire::IndexTargets::deb-src::Sources::ShortDescription "Sources"; Acquire::IndexTargets::deb-src::Sources::Description "$(RELEASE)/$(COMPONENT) Sources"; Acquire::IndexTargets::deb-src::Sources::flatDescription "$(RELEASE) Sources"; Acquire::IndexTargets::deb-src::Sources::Optional "0"; Acquire::Changelogs ""; Acquire::Changelogs::URI ""; Acquire::Changelogs::URI::Origin ""; Acquire::Changelogs::URI::Origin::Debian "https://metadata.ftp-master.debian.org/changelogs/@CHANGEPATH@_changelog"; Acquire::Changelogs::URI::Origin::Ubuntu "https://changelogs.ubuntu.com/changelogs/pool/@CHANGEPATH@/changelog"; Acquire::Changelogs::AlwaysOnline ""; Acquire::Changelogs::AlwaysOnline::Origin ""; Acquire::Changelogs::AlwaysOnline::Origin::Ubuntu "1"; Acquire::http ""; Acquire::http::Proxy "http://10.23.21.10:8142"; Acquire::Languages ""; Acquire::Languages:: "en"; Acquire::Languages:: "none"; Acquire::CompressionTypes ""; Acquire::CompressionTypes::xz "xz"; Acquire::CompressionTypes::bz2 "bzip2"; Acquire::CompressionTypes::lzma "lzma"; Acquire::CompressionTypes::gz "gzip"; Acquire::CompressionTypes::lz4 "lz4"; Acquire::CompressionTypes::zst "zstd"; DPkg ""; DPkg::Path "/usr/sbin:/usr/bin:/sbin:/bin"; DPkg::Pre-Install-Pkgs ""; DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -lt 10"; DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true"; DPkg::Tools ""; DPkg::Tools::Options ""; DPkg::Tools::Options::/usr/bin/apt-listchanges ""; DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2"; DPkg::Tools::Options::/usr/bin/apt-listchanges::InfoFD "20"; Aptitude ""; Aptitude::Get-Root-Command "sudo:/usr/bin/sudo"; Binary "apt-config"; Binary::apt ""; Binary::apt::APT ""; Binary::apt::APT::Color "1"; Binary::apt::APT::Cache ""; Binary::apt::APT::Cache::Show ""; Binary::apt::APT::Cache::Show::Version "2"; Binary::apt::APT::Cache::AllVersions "0"; Binary::apt::APT::Cache::ShowVirtuals "1"; Binary::apt::APT::Cache::Search ""; Binary::apt::APT::Cache::Search::Version "2"; Binary::apt::APT::Cache::ShowDependencyType "1"; Binary::apt::APT::Cache::ShowVersion "1"; Binary::apt::APT::Get ""; Binary::apt::APT::Get::Upgrade-Allow-New "1"; Binary::apt::APT::Get::Update ""; Binary::apt::APT::Get::Update::InteractiveReleaseInfoChanges "1"; Binary::apt::APT::Cmd ""; Binary::apt::APT::Cmd::Show-Update-Stats "1"; Binary::apt::APT::Cmd::Pattern-Only "1"; Binary::apt::APT::Keep-Downloaded-Packages "0"; Binary::apt::DPkg ""; Binary::apt::DPkg::Progress-Fancy "1"; Binary::apt::DPkg::Lock ""; Binary::apt::DPkg::Lock::Timeout "-1"; CommandLine ""; CommandLine::AsString "apt-config dump"; -- (no /etc/apt/preferences present) -- -- (no /etc/apt/preferences.d/* present) -- -- /etc/apt/sources.list -- #deb cdrom:[Debian GNU/Linux 12.2.0 _Bookworm_ - Official i386 NETINST with firmware 20231007-10:28]/ bookworm main non-free-firmware deb http://ftp.us.debian.org/debian/ bookworm main non-free-firmware deb-src http://ftp.us.debian.org/debian/ bookworm main non-free-firmware deb http://security.debian.org/debian-security bookworm-security main non-free-firmware deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware # bookworm-updates, to get updates before a point release is made; # see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports deb http://ftp.us.debian.org/debian/ bookworm-updates main non-free-firmware deb-src http://ftp.us.debian.org/debian/ bookworm-updates main non-free-firmware # This system was installed using small removable media # (e.g. netinst, live or single CD). The matching "deb cdrom" # entries were disabled at the end of the installation process. # For information about how to configure apt package sources, # see the sources.list(5) manual. -- /etc/apt/sources.list.d/backports.list -- deb http://ftp.us.debian.org/debian/ bullseye-backports main -- System Information: Debian Release: 12.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 6.1.0-13-686 (SMP w/2 CPU threads; PREEMPT) Kernel taint flags: TAINT_DIE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages apt depends on: ii adduser 3.134 ii debian-archive-keyring 2023.3+deb12u1 ii gpgv 2.2.40-1.1 ii libapt-pkg6.0 2.6.1 ii libc6 2.36-9+deb12u3 ii libgcc-s1 12.2.0-14 ii libgnutls30 3.7.9-2 ii libseccomp2 2.5.4-1+b3 ii libstdc++6 12.2.0-14 ii libsystemd0 252.17-1~deb12u1 Versions of packages apt recommends: ii ca-certificates 20230311 Versions of packages apt suggests: pn apt-doc <none> pn aptitude | synaptic | wajig <none> pn dpkg-dev <none> pn gnupg | gnupg2 | gnupg1 <none> pn powermgmt-base <none> -- no debconf information