From nobody Wed Jan 03 08:33:40 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T4jfr4v9Xz55Jxc for ; Wed, 3 Jan 2024 08:33:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T4jfr0bRrz4CVy for ; Wed, 3 Jan 2024 08:33:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704270820; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3nqYYlHNs5C2FrUeIXROsi7z9CsIryHyi9c2FqdfFhI=; b=umUokJQky/X/SIuOydE9UyLJwfjTizW7iqwB7A7wQR/Gawoxqj9b81+hEueE8suo7wSrZ5 VXF3Jyulq6DamwOxjE+ZzAjDopz2FHHbrRYtWNe8JX+jvM2XicZSpfIDaLchkmqoZCCHnM eVrwYQJI5+UbTWEG2IyvdXKBNXQB6Y7mHVNiDny6GTv+ZVmwzXoOdGCeOW84XAhedZk2rY JJceGSwCsx5h/V8E0gYU9NSrcHx8kYBb6pmBe87l2Tfz/JEoiCqgBCFbQnXwf0loi4gL7p gOGvb6wqgYK5sMoh/YUYluSJm3xLisBcbeAhDWlOWFcI4BuSqSENZ8cp37BHKQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704270820; a=rsa-sha256; cv=none; b=QRaxIHEpQgfJ0fCWSWIsDrFiGfTerBpN9ljuJL7Xw478VWxePomWYvbLc1Fq0rwIya2G+e 4qaBeFTEdGov5g9dXhPGYT8y4WH6yVdjAd/vBP5wfUzY1gbqeOJcVsuc2mQgGiTOtLoWtx JWPaPzdRH+yxc9hYrAer7YO6+UD/uSq+XdIn4iGZTF4O5gea8w75ApETs1mHztV5TvZwEL RIFlRcKceiIhhd95Hunq7gHdb/VeVYHCkGpJoFdHmY7t1zBlL7rdyEQqIhxFEXSMlANHy4 q89VWTrwv1tbZ07BYzTEMsNu0bk3SpSRQ4MkaDKiD0hwZnq8vqLGxOc77C3Dmw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T4jfq6nY0zdcH for ; Wed, 3 Jan 2024 08:33:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4038Xdli093906 for ; Wed, 3 Jan 2024 08:33:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4038XdYC093905 for bugs@FreeBSD.org; Wed, 3 Jan 2024 08:33:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 275632] process being killed which has a big file mmap'ed and performs writes to it Date: Wed, 03 Jan 2024 08:33:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: d8zNeCFG@aon.at X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275632 --- Comment #5 from Martin Birgmeier --- Update: Not only the program itself but also unrelated programs may be kill= ed - here is an excerpt of today's /var/log/messages: Jan 3 09:08:55 hal kernel: pid 4892 (cawic), jid 0, uid 20201, was killed: failed to reclaim memory Jan 3 09:08:57 hal kernel: pid 892 (Xorg), jid 0, uid 0, was killed: faile= d to reclaim memory Jan 3 09:08:59 hal kernel: pid 644 (named), jid 0, uid 53, was killed: fai= led to reclaim memory Jan 3 09:09:00 hal kernel: pid 2891 (xterm), jid 0, uid 0, was killed: fai= led to reclaim memory Jan 3 09:09:01 hal devd[388]: notify_clients: send() failed; dropping unresponsive client Jan 3 09:09:02 hal kernel: pid 4842 (xterm), jid 0, uid 20201, was killed: failed to reclaim memory Jan 3 09:09:18 hal kernel: pid 2917 (xterm), jid 0, uid 80, was killed: fa= iled to reclaim memory The process was running as a regular user, so this can easily be used as a = DOS attack. -- Martin --=20 You are receiving this mail because: You are the assignee for the bug.=