** Description changed: [Impact] - In an 24.04 VM running kernel 6.8.0-87-generic, a memory leak is experienced when performing I/O in a cifs mountpoint. Free memory keeps decreasing until reaching a very low value. + In a 24.04 VM running kernel 6.8.0-87-generic, a memory leak is experienced when performing I/O in a cifs mountpoint. Free memory keeps decreasing until reaching a very low value. This behavior is not seen in the latest 24.04 HWE kernel 6.14.0-35-generic. [Test case] 1) Create 2 multipass Ubuntu 24.04 VMs, one acting as a samba server, and the other acting as a samba client. 2) From the client, mount the samba share with default settings: sudo mount -t cifs //<IP>/shared /mnt/cifs-share 3) From the client, create a small file in /mnt/cifs-share: fallocate -l 1k d1.data 4) From the client, keep zipping the file in an endless loop: while true ; do zstd --force d1.data ; done 5) From the client, watch the free memory decrease to a very low value - [Other info] Originally reported in closed Discourse post at https://discourse.ubuntu.com/t/ubuntu-24-04-file-operations-on-top-of-a-cifs-mount-leak-memory/56439 - --- + --- ProblemType: Bug AlsaDevices: - total 0 - crw-rw---- 1 root audio 116, 1 Nov 13 10:37 seq - crw-rw---- 1 root audio 116, 33 Nov 13 10:37 timer + total 0 + crw-rw---- 1 root audio 116, 1 Nov 13 10:37 seq + crw-rw---- 1 root audio 116, 33 Nov 13 10:37 timer AplayDevices: Error: [Errno 2] No such file or directory: 'aplay' ApportVersion: 2.28.1-0ubuntu3.8 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CRDA: N/A CasperMD5CheckResult: unknown CloudArchitecture: x86_64 CloudBuildName: server CloudID: multipass CloudName: multipass CloudPlatform: nocloud CloudSerial: 20251031 CloudSubPlatform: config-disk (/dev/sr0) CurrentDmesg: Error: command ['dmesg'] failed with exit code 1: dmesg: read kernel buffer failed: Operation not permitted DistroRelease: Ubuntu 24.04 IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' Lsusb: Error: command ['lsusb'] failed with exit code 1: Lsusb-t: - + Lsusb-v: Error: command ['lsusb', '-v'] failed with exit code 1: MachineType: QEMU Standard PC (i440FX + PIIX, 1996) Package: linux (not installed) PciMultimedia: - + ProcEnviron: - LANG=C.UTF-8 - PATH=(custom, no user) - SHELL=/bin/bash - TERM=xterm-256color - XDG_RUNTIME_DIR=<set> + LANG=C.UTF-8 + PATH=(custom, no user) + SHELL=/bin/bash + TERM=xterm-256color + XDG_RUNTIME_DIR=<set> ProcFB: 0 simpledrmdrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.8.0-87-generic root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyS0 ProcVersionSignature: User Name 6.8.0-87.88-generic 6.8.12 RelatedPackageVersions: - linux-restricted-modules-6.8.0-87-generic N/A - linux-backports-modules-6.8.0-87-generic N/A - linux-firmware N/A + linux-restricted-modules-6.8.0-87-generic N/A + linux-backports-modules-6.8.0-87-generic N/A + linux-firmware N/A RfKill: Error: [Errno 2] No such file or directory: 'rfkill' Tags: cloud-image noble Uname: Linux 6.8.0-87-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lxd sudo _MarkForUpload: True acpidump: - + dmi.bios.date: 02/06/2015 dmi.bios.release: 0.0 dmi.bios.vendor: EFI Development Kit II / OVMF dmi.bios.version: 0.0.0 dmi.chassis.type: 1 dmi.chassis.vendor: QEMU dmi.chassis.version: pc-i440fx-8.2 dmi.modalias: dmi:bvnEFIDevelopmentKitII/OVMF:bvr0.0.0:bd02/06/2015:br0.0:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-8.2:cvnQEMU:ct1:cvrpc-i440fx-8.2:sku: dmi.product.name: Standard PC (i440FX + PIIX, 1996) dmi.product.version: pc-i440fx-8.2 dmi.sys.vendor: QEMU
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2131213 Title: Memory leak in 6.8.0-87-generic when using a cifs mount To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2131213/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
