Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1019417: out of memory: oom-killer Killed process wpa_supplicant

202 views
Skip to first unread message

John Yu

unread,
Sep 8, 2022, 10:00:04 PM9/8/22
to
Package: wpasupplicant
Version: 2:2.9.0-21
Severity: important
Tags: a11y
X-Debbugs-Cc: jdoe...@gmail.com


wpa_supplicant periodically requests more memory than what's available (~12GB)
and ends up getting killed by kernel out-of-memory killer. wpa_supplicant then
is restarted and connects to WiFi. Internet connection drops briefly.

uname -a
=======
Linux elitebook 5.10.0-17-amd64 #1 SMP Debian 5.10.136-1 (2022-08-13) x86_64
GNU/Linux

lshw -C network
=======
*-network
description: Wireless interface
product: Wireless 8260
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 3a
serial: b8:08:cf:b2:e6:cf
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical
wireless
configuration: broadcast=yes driver=iwlwifi
driverversion=5.10.0-17-amd64 firmware=36.ad812ee0.0 8000C-36.ucode
ip=10.152.10.29 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:135 memory:e1100000-e1101fff


dmesg transcript on one of the occasions
===========
28616.513770] oom-
kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/system.slice/wpa_supplicant.service,task=wpa_supplicant,pid=24977,uid=0
[28616.513786] Out of memory: Killed process 24977 (wpa_supplicant) total-
vm:13184756kB, anon-rss:13170908kB, file-rss:20kB, shmem-rss:0kB, UID:0
pgtables:25856kB oom_score_adj:0
[28617.465698] wlp2s0: deauthenticating from 6c:f3:7f:ba:2a:92 by local choice
(Reason: 3=DEAUTH_LEAVING)
[28621.551249] wlp2s0: authenticate with 6c:f3:7f:ba:2a:92
[28621.558949] wlp2s0: send auth to 6c:f3:7f:ba:2a:92 (try 1/3)
[28621.579323] wlp2s0: authenticated
[28621.605563] wlp2s0: associate with 6c:f3:7f:ba:2a:92 (try 1/3)
[28621.620294] wlp2s0: RX AssocResp from 6c:f3:7f:ba:2a:92 (capab=0x1401
status=0 aid=1)
[28621.622662] wlp2s0: associated
[28621.623845] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
[28621.661000] wlp2s0: Limiting TX power to 36 (36 - 0) dBm as advertised by
6c:f3:7f:ba:2a:92
[28680.941402] G1 Service invoked oom-killer:
gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
[28680.941406] CPU: 0 PID: 21329 Comm: G1 Service Not tainted 5.10.0-17-amd64
#1 Debian 5.10.136-1
[28680.941407] Hardware name: HP HP EliteBook 850 G3/8079, BIOS N75 Ver. 01.52
04/20/2021
[28680.941409] Call Trace:
[28680.941416] dump_stack+0x6b/0x83
[28680.941419] dump_header+0x4a/0x1f4
[28680.941422] oom_kill_process.cold+0xb/0x10
[28680.941426] out_of_memory+0x1bd/0x4e0
[28680.941430] __alloc_pages_slowpath.constprop.0+0xb90/0xc60
[28680.941434] __alloc_pages_nodemask+0x2de/0x310
[28680.941438] pagecache_get_page+0x175/0x390
[28680.941440] filemap_fault+0x6a2/0x900
[28680.941444] ? xas_load+0x5/0x80
[28680.941467] ext4_filemap_fault+0x2d/0x50 [ext4]
[28680.941471] __do_fault+0x34/0x170
[28680.941474] handle_mm_fault+0x1208/0x1c10
[28680.941479] do_user_addr_fault+0x1b8/0x400
[28680.941483] exc_page_fault+0x78/0x160
[28680.941486] ? asm_exc_page_fault+0x8/0x30
[28680.941487] asm_exc_page_fault+0x1e/0x30
[28680.941490] RIP: 0033:0x7f9f21757510
[28680.941496] Code: Unable to access opcode bytes at RIP 0x7f9f217574e6.
[28680.941497] RSP: 002b:00007f9f05198dc8 EFLAGS: 00010206
[28680.941500] RAX: 0000000000000000 RBX: 00007f9f1c150468 RCX:
00007f9f22935797
[28680.941501] RDX: 0000000000000000 RSI: 00007f9f05198d50 RDI:
00007f9f227b0fa8
[28680.941502] RBP: 00007f9f05198de0 R08: 0000000000000000 R09:
00007f9f1c150fa0
[28680.941503] R10: 00007ffcac5c4080 R11: 0000000000000206 R12:
00007f9f1c150468
[28680.941505] R13: 00007f9f1c150468 R14: 0000000000100000 R15:
0000000000103000
[28680.941508] Mem-Info:
[28680.941513] active_anon:1823 inactive_anon:3907125 isolated_anon:0
active_file:170 inactive_file:241 isolated_file:0
unevictable:43417 dirty:0 writeback:0
slab_reclaimable:10971 slab_unreclaimable:20582
mapped:11617 shmem:59464 pagetables:13209 bounce:0
free:33044 free_pcp:647 free_cma:0
[28680.941517] Node 0 active_anon:7292kB inactive_anon:15628500kB
active_file:680kB inactive_file:964kB unevictable:173668kB isolated(anon):0kB
isolated(file):0kB mapped:46468kB dirty:0kB writeback:0kB shmem:237856kB
shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 966656kB writeback_tmp:0kB
kernel_stack:13216kB all_unreclaimable? no
[28680.941518] Node 0 DMA free:15892kB min:64kB low:80kB high:96kB
reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB
inactive_file:0kB unevictable:0kB writepending:0kB present:15988kB
managed:15892kB mlocked:0kB pagetables:0kB bounce:0kB free_pcp:0kB
local_pcp:0kB free_cma:0kB
[28680.941523] lowmem_reserve[]: 0 3086 15851 15851 15851
[28680.941528] Node 0 DMA32 free:63524kB min:13144kB low:16428kB high:19712kB
reserved_highatomic:0KB active_anon:0kB inactive_anon:3100404kB
active_file:60kB inactive_file:64kB unevictable:7568kB writepending:0kB
present:3244096kB managed:3178492kB mlocked:0kB pagetables:6088kB bounce:0kB
free_pcp:328kB local_pcp:120kB free_cma:0kB
[28680.941533] lowmem_reserve[]: 0 0 12764 12764 12764
[28680.941537] Node 0 Normal free:52760kB min:54368kB low:67960kB high:81552kB
reserved_highatomic:0KB active_anon:7292kB inactive_anon:12528096kB
active_file:448kB inactive_file:976kB unevictable:166100kB writepending:0kB
present:13393920kB managed:13076108kB mlocked:48kB pagetables:46748kB
bounce:0kB free_pcp:2260kB local_pcp:764kB free_cma:0kB
[28680.941558] lowmem_reserve[]: 0 0 0 0 0
[28680.941562] Node 0 DMA: 3*4kB (U) 3*8kB (U) 3*16kB (U) 2*32kB (U) 2*64kB (U)
2*128kB (U) 0*256kB 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15892kB
[28680.941576] Node 0 DMA32: 50*4kB (UME) 53*8kB (UME) 28*16kB (UME) 39*32kB
(UME) 20*64kB (UME) 11*128kB (UME) 8*256kB (UME) 5*512kB (UME) 5*1024kB (UE)
2*2048kB (UM) 11*4096kB (M) = 63888kB
[28680.941589] Node 0 Normal: 4320*4kB (UE) 809*8kB (UME) 518*16kB (UME)
395*32kB (UME) 105*64kB (UME) 11*128kB (UM) 0*256kB 1*512kB (M) 0*1024kB
0*2048kB 0*4096kB = 53320kB
[28680.941602] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0
hugepages_size=1048576kB
[28680.941604] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0
hugepages_size=2048kB
[28680.941604] 59782 total pagecache pages
[28680.941606] 0 pages in swap cache
[28680.941607] Swap cache stats: add 0, delete 0, find 0/0
[28680.941607] Free swap = 0kB
[28680.941608] Total swap = 0kB
[28680.941609] 4163501 pages RAM
[28680.941610] 0 pages HighMem/MovableOnly
[28680.941610] 95878 pages reserved
[28680.941611] 0 pages hwpoisoned
[28680.941612] Tasks state (memory values in pages):
[28680.941612] [ pid ] uid tgid total_vm rss pgtables_bytes swapents
oom_score_adj name
[28680.941619] [ 230] 0 230 23912 856 200704 0
-250 systemd-journal
[28680.941621] [ 260] 0 260 5949 696 57344 0
-1000 systemd-udevd
[28680.941624] [ 579] 0 579 59097 251 90112 0
0 accounts-daemon
[28680.941626] [ 582] 109 582 1832 188 53248 0
0 avahi-daemon
[28680.941628] [ 585] 0 585 1671 67 49152 0
0 cron
[28680.941630] [ 586] 103 586 2420 604 53248 0
-900 dbus-daemon
[28680.941632] [ 590] 0 590 64372 1620 143360 0
0 NetworkManager
[28680.941634] [ 595] 0 595 59718 1027 106496 0
0 polkitd
[28680.941635] [ 596] 0 596 55185 404 73728 0
0 rsyslogd
[28680.941637] [ 597] 109 597 1714 81 49152 0
0 avahi-daemon
[28680.941639] [ 598] 0 598 58195 138 77824 0
0 switcheroo-cont
[28680.941641] [ 604] 0 604 142677 267 131072 0
0 systemd-logind
[28680.941642] [ 605] 0 605 98456 705 126976 0
0 udisksd
[28680.941645] [ 617] 0 617 78698 935 114688 0
0 ModemManager
[28680.941647] [ 670] 0 670 3201 168 69632 0
0 bluetoothd
[28680.941648] [ 696] 0 696 29680 2220 126976 0
0 unattended-upgr
[28680.941650] [ 710] 0 710 3324 224 65536 0
-1000 sshd
[28680.941652] [ 713] 0 713 59908 788 98304 0
0 gdm3
[28680.941654] [ 756] 107 756 38423 76 61440 0
0 rtkit-daemon
[28680.941655] [ 850] 0 850 61820 416 102400 0
0 upowerd
[28680.941657] [ 939] 0 939 109503 9354 237568 0
0 packagekitd
[28680.941659] [ 1072] 113 1072 60755 931 110592 0
0 colord
[28680.941661] [ 1402] 117 1402 4608 257 73728 0
0 exim4
[28680.941663] [ 1418] 0 1418 78455 411 98304 0
0 gdm-session-wor
[28680.941665] [ 1424] 1000 1424 3941 482 73728 0
0 systemd
[28680.941666] [ 1425] 1000 1425 41751 756 86016 0
0 (sd-pam)
[28680.941668] [ 1439] 1000 1439 22715 272 73728 0
0 pipewire
[28680.941670] [ 1440] 1000 1440 485806 1834 290816 0
0 pulseaudio
[28680.941672] [ 1442] 1000 1442 127419 2733 184320 0
0 tracker-miner-f
[28680.941674] [ 1446] 1000 1446 2351 543 61440 0
0 dbus-daemon
[28680.941675] [ 1449] 1000 1449 96204 821 110592 0
0 gnome-keyring-d
[28680.941677] [ 1454] 1000 1454 21325 294 69632 0
0 pipewire-media-
[28680.941679] [ 1456] 1000 1456 39709 131 73728 0
0 gdm-wayland-ses
[28680.941680] [ 1459] 1000 1459 74502 453 151552 0
0 gnome-session-b
[28680.941682] [ 1496] 1000 1496 59249 282 86016 0
0 gvfsd
[28680.941685] [ 1501] 1000 1501 94981 670 94208 0
0 gvfsd-fuse
[28680.941686] [ 1508] 1000 1508 124164 1028 151552 0
0 gvfs-udisks2-vo
[28680.941688] [ 1515] 1000 1515 58266 208 86016 0
0 gvfs-goa-volume
[28680.941690] [ 1525] 1000 1525 136977 2168 262144 0
0 goa-daemon
[28680.941691] [ 1538] 1000 1538 77980 270 102400 0
0 goa-identity-se
[28680.941693] [ 1545] 1000 1545 22044 103 69632 0
0 gnome-session-c
[28680.941695] [ 1546] 1000 1546 58218 1220 86016 0
0 gvfs-mtp-volume
[28680.941697] [ 1547] 1000 1547 1491 97 49152 0
0 ssh-agent
[28680.941699] [ 1550] 1000 1550 148420 681 188416 0
0 gnome-session-b
[28680.941700] [ 1556] 1000 1556 58809 225 81920 0
0 gvfs-gphoto2-vo
[28680.941702] [ 1567] 1000 1567 77890 279 102400 0
0 gvfs-afc-volume
[28680.941704] [ 1582] 1000 1582 76824 173 94208 0
0 at-spi-bus-laun
[28680.941706] [ 1589] 1000 1589 1301617 37194 1687552 0
0 gnome-shell
[28680.941708] [ 1592] 1000 1592 1985 176 57344 0
0 dbus-daemon
[28680.941711] [ 1620] 1000 1620 348862 10416 569344 0
0 Xwayland
[28680.941713] [ 1643] 1000 1643 58197 106 81920 0
0 xdg-permission-
[28680.941715] [ 1647] 1000 1647 145258 1200 204800 0
0 gnome-shell-cal
[28680.941718] [ 1654] 1000 1654 268196 1537 278528 0
0 evolution-sourc
[28680.941720] [ 1659] 114 1659 225770 2283 212992 0
0 geoclue
[28680.941722] [ 1665] 1000 1665 345428 1670 319488 0
0 evolution-calen
[28680.941725] [ 1675] 1000 1675 39061 247 69632 0
0 dconf-service
[28680.941727] [ 1681] 1000 1681 236746 2079 315392 0
0 evolution-addre
[28680.941729] [ 1689] 1000 1689 683879 1775 241664 0
0 gjs
[28680.941731] [ 1690] 1000 1690 41417 200 90112 0
0 at-spi2-registr
[28680.941734] [ 1701] 1000 1701 76716 676 94208 0
0 gsd-a11y-settin
[28680.941736] [ 1702] 1000 1702 152366 1485 225280 0
0 gsd-color
[28680.941739] [ 1703] 1000 1703 116234 3098 212992 0
0 gsd-datetime
[28680.941741] [ 1709] 1000 1709 77323 311 106496 0
0 gsd-housekeepin
[28680.941744] [ 1712] 1000 1712 85481 1323 172032 0
0 gsd-keyboard
[28680.941746] [ 1715] 1000 1715 161106 1567 196608 0
0 gsd-media-keys
[28680.941748] [ 1716] 1000 1716 197681 1615 221184 0
0 gsd-power
[28680.941749] [ 1718] 1000 1718 61647 364 118784 0
0 gsd-print-notif
[28680.941751] [ 1720] 1000 1720 113567 734 106496 0
0 gsd-rfkill
[28680.941753] [ 1728] 1000 1728 57948 277 81920 0
0 gsd-disk-utilit
[28680.941755] [ 1730] 1000 1730 58175 151 81920 0
0 gsd-screensaver
[28680.941756] [ 1731] 1000 1731 115619 1128 131072 0
0 gsd-sharing
[28680.941758] [ 1732] 1000 1732 114999 771 126976 0
0 gsd-smartcard
[28680.941760] [ 1733] 1000 1733 79878 320 110592 0
0 gsd-sound
[28680.941761] [ 1739] 1000 1739 164574 3773 372736 0
0 evolution-alarm
[28680.941764] [ 1743] 1000 1743 113960 212 114688 0
0 gsd-usb-protect
[28680.941765] [ 1744] 1000 1744 85568 1354 167936 0
0 gsd-wacom
[28680.941767] [ 1751] 1000 1751 303571 24738 507904 0
0 gnome-software
[28680.941769] [ 1793] 1000 1793 86202 494 155648 0
0 gsd-printer
[28680.941771] [ 1881] 1000 1881 96299 1976 118784 0
0 ibus-daemon
[28680.941773] [ 1883] 1000 1883 194525 4035 417792 0
0 gsd-xsettings
[28680.941775] [ 1897] 1000 1897 58434 158 81920 0
0 ibus-dconf
[28680.941776] [ 1898] 1000 1898 86565 2841 172032 0
0 ibus-extension-
[28680.941778] [ 1900] 1000 1900 157521 3382 385024 0
0 ibus-x11
[28680.941780] [ 1909] 1000 1909 58427 221 81920 0
0 ibus-portal
[28680.941781] [ 1935] 1000 1935 40008 261 73728 0
0 ibus-engine-sim
[28680.941784] [ 2038] 1000 2038 234647 4682 286720 0
0 seahorse
[28680.941786] [ 2042] 1000 2042 214475 3959 344064 0
0 gnome-calendar
[28680.941788] [ 2108] 1000 2108 77780 863 106496 0
0 gvfsd-trash
[28680.941790] [ 2477] 1000 2477 77660 259 98304 0
0 gvfsd-burn
[28680.941791] [ 2814] 1000 2814 39959 262 77824 0
0 gvfsd-metadata
[28680.941794] [ 3796] 1000 3796 96257 834 106496 0
0 gvfsd-network
[28680.941796] [ 3808] 1000 3808 78274 786 114688 0
0 gvfsd-dnssd
[28680.941798] [ 6506] 1000 6506 130271 1340 200704 0
0 gvfsd-smb-brows
[28680.941800] [ 7247] 0 7247 6744 437 94208 0
0 cupsd
[28680.941801] [ 7249] 0 7249 43986 647 106496 0
0 cups-browsed
[28680.941803] [ 8927] 1000 8927 143971 22897 421888 0
0 evince
[28680.941805] [ 8934] 1000 8934 38960 128 69632 0
0 evinced
[28680.941807] [ 10357] 1000 10357 103764 6695 270336 0
0 gnome-terminal-
[28680.941809] [ 10448] 1000 10448 1808 179 57344 0
0 bash
[28680.941811] [ 11780] 1000 11780 1491 97 49152 0
0 ssh-agent
[28680.941813] [ 18872] 1000 18872 101524 4258 245760 0
0 gnome-system-mo
[28680.941814] [ 21290] 1000 21290 85815 1269 172032 0
0 eclipse
[28680.941816] [ 21323] 1000 21323 23136106 214063 3035136 0
0 java
[28680.941818] [ 21645] 1000 21645 1808 161 49152 0
0 bash
[28680.941820] [ 21827] 1000 21827 7014 2887 90112 0
0 python3
[28680.941821] [ 21861] 1000 21861 104740 10690 327680 0
0 python3
[28680.941823] [ 22253] 1000 22253 25936939 2222 380928 0
0 WebKitNetworkPr
[28680.941825] [ 22255] 1000 22255 26111472 7025 765952 0
0 WebKitWebProces
[28680.941828] [ 23040] 1000 23040 775034 80050 1998848 0
0 firefox-esr
[28680.941830] [ 23119] 1000 23119 741519 54365 2023424 0
0 Web Content
[28680.941832] [ 23170] 1000 23170 602672 5076 585728 0
0 WebExtensions
[28680.941833] [ 23215] 1000 23215 598333 3622 503808 0
0 Privileged Cont
[28680.941835] [ 23259] 1000 23259 90709 219 98304 0
0 sd_dummy
[28680.941837] [ 23262] 1000 23262 112969 769 122880 0
0 sd_espeak-ng
[28680.941838] [ 23272] 1000 23272 39923 625 77824 0
0 speech-dispatch
[28680.941840] [ 23276] 1000 23276 51111 2096 290816 0
0 RDD Process
[28680.941842] [ 23878] 1000 23878 627660 6420 880640 0
0 Web Content
[28680.941844] [ 24185] 1000 24185 607884 7644 622592 0
0 Web Content
[28680.941846] [ 24243] 1000 24243 595868 3232 462848 0
0 Web Content
[28680.941849] [ 24948] 1000 24948 130529 15117 413696 0
0 reportbug
[28680.941852] [ 25035] 0 25035 3288306 3284855 26406912 0
0 wpa_supplicant
[28680.941853] [ 25092] 1000 25092 85448 1849 163840 0
0 gnome-control-c
[28680.941855] oom-
kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/system.slice/wpa_supplicant.service,task=wpa_supplicant,pid=25035,uid=0
[28680.941868] Out of memory: Killed process 25035 (wpa_supplicant) total-
vm:13153224kB, anon-rss:13139420kB, file-rss:0kB, shmem-rss:0kB, UID:0
pgtables:25788kB oom_score_adj:0
[28682.018483] wlp2s0: deauthenticating from 6c:f3:7f:ba:2a:92 by local choice
(Reason: 3=DEAUTH_LEAVING)
[28685.994540] wlp2s0: authenticate with 6c:f3:7f:ba:2a:92
[28686.001099] wlp2s0: send auth to 6c:f3:7f:ba:2a:92 (try 1/3)
[28686.017101] wlp2s0: authenticated
[28686.053560] wlp2s0: associate with 6c:f3:7f:ba:2a:92 (try 1/3)
[28686.069264] wlp2s0: RX AssocResp from 6c:f3:7f:ba:2a:92 (capab=0x1401
status=0 aid=1)
[28686.071704] wlp2s0: associated
[28686.072945] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
[28686.171299] wlp2s0: Limiting TX power to 36 (36 - 0) dBm as advertised by
6c:f3:7f:ba:2a:92








-- System Information:
Debian Release: 11.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-17-amd64 (SMP w/4 CPU threads)
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 wpasupplicant depends on:
ii adduser 3.118
ii libc6 2.31-13+deb11u3
ii libdbus-1-3 1.12.20-2
ii libnl-3-200 3.4.0-1+b1
ii libnl-genl-3-200 3.4.0-1+b1
ii libnl-route-3-200 3.4.0-1+b1
ii libpcsclite1 1.9.1-1
ii libreadline8 8.1-1
ii libssl1.1 1.1.1n-0+deb11u3
ii lsb-base 11.1.0

wpasupplicant recommends no packages.

Versions of packages wpasupplicant suggests:
pn libengine-pkcs11-openssl <none>
pn wpagui <none>

Andrej Shadura

unread,
Sep 9, 2022, 2:30:03 AM9/9/22
to
Control: tags -1 = moreinfo

On Fri, 9 Sep 2022, at 03:51, John Yu wrote:
> wpa_supplicant periodically requests more memory than what's available (~12GB)
> and ends up getting killed by kernel out-of-memory killer. wpa_supplicant then
> is restarted and connects to WiFi. Internet connection drops briefly.

Nothing like this has never been reported for wpa_supplicant. Please provide an exact way to reproduce this issue before it can be acted upon.

--
Cheers,
Andrej

John Yu

unread,
Sep 9, 2022, 10:30:03 PM9/9/22
to
I reinstalled Debian and the problem went away. It might have been some old music  synthesizer package I have installed on the system. 

I have not been able to replicate the problem on the new setup.

John

John Doe

unread,
Nov 2, 2022, 5:50:04 PM11/2/22
to
I observed the OOM problem again in my fresh Debian linux installation. The steps to reproduce it are as follows

1. Install Debian
2. Connect to a wifi network
3. Wait for wpa_supplicant to use all the memory and observe the OOM killer message
0 new messages