Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMY2g-0002Fb-6X for pgsql-general@arkaria.postgresql.org; Wed, 17 Mar 2021 15:25:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lMY2f-0002A2-0l for pgsql-general@arkaria.postgresql.org; Wed, 17 Mar 2021 15:25:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMY2e-00029t-Ot for pgsql-general@lists.postgresql.org; Wed, 17 Mar 2021 15:25:00 +0000 Received: from portal-smtp-out.hot.ee ([194.126.101.125]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMY2c-0005bG-6G for pgsql-general@postgresql.org; Wed, 17 Mar 2021 15:24:59 +0000 Received: from localhost (localhost [127.0.0.1]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 9BB141D6A; Wed, 17 Mar 2021 17:24:56 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at vm-hot-relay10.estpak.ee Received: from portal-smtp-out.hot.ee ([127.0.0.1]) by localhost (vm-hot-relay10.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EiXtb1CSLLOF; Wed, 17 Mar 2021 17:24:54 +0200 (EET) Received: from mail.hot.ee (hot-relayhost2.estpak.ee [213.180.2.80]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 4CC9E85A; Wed, 17 Mar 2021 17:24:54 +0200 (EET) Subject: Re: SV: Log files polluted with permission denied error messages after every 10 seconds To: Laurenz Albe , Michael Paquier Cc: Thomas Munro , Niels Jespersen , Tom Lane , pgsql-general References: <1881481.1615240712@sss.pgh.pa.us> <94330326-5fa0-279a-937c-c4806e1fcd5a@hot.ee> <2586bd2e-77d4-e3e2-2f30-d5c83f52f001@hot.ee> <2b675d25-e86c-ea29-b02e-6bad5d55fbe3@hot.ee> <22ec98b1-cc2f-8e6a-f1d7-ee528237f2fb@hot.ee> <78e6daee-0323-752d-c142-263a80154e18@hot.ee> <6538dfd4-9820-6e30-3eb3-5e035d8aba05@hot.ee> <7f13c1a55d615265364a888801ca3a7272df9c5a.camel@cybertec.at> <843d2c8b-2e7a-8d4f-940a-2e3283690026@hot.ee> <908a9bcb7a29d5a2edbe354d1a4b2c91d709f212.camel@cybertec.at> From: Andrus Message-ID: <1d2706f2-6fbe-ed5f-22ed-56358c154053@hot.ee> Date: Wed, 17 Mar 2021 17:24:42 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <908a9bcb7a29d5a2edbe354d1a4b2c91d709f212.camel@cybertec.at> Content-Type: multipart/alternative; boundary="------------9DFB259B44B5E786861B57D2" Content-Language: et List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------9DFB259B44B5E786861B57D2 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi! BUFFER OVERFLOW result stack trace is "Frame","Module","Location","Address","Path" "0","FLTMGR.SYS","FltDecodeParameters + 0x1c5d","0xfffff8019f72555d","C:\Windows\System32\drivers\FLTMGR.SYS" "1","FLTMGR.SYS","FltDecodeParameters + 0x17bc","0xfffff8019f7250bc","C:\Windows\System32\drivers\FLTMGR.SYS" "2","FLTMGR.SYS","FltDecodeParameters + 0x1328","0xfffff8019f724c28","C:\Windows\System32\drivers\FLTMGR.SYS" "3","FLTMGR.SYS","FltDecodeParameters + 0x111e","0xfffff8019f724a1e","C:\Windows\System32\drivers\FLTMGR.SYS" "4","ntoskrnl.exe","IofCallDriver + 0x59","0xfffff80051856109","C:\Windows\system32\ntoskrnl.exe" "5","ntoskrnl.exe","KeIsAttachedProcess + 0xf3","0xfffff80051929343","C:\Windows\system32\ntoskrnl.exe" "6","ntoskrnl.exe","NtQueryInformationFile + 0x492","0xfffff80051e8b5c2","C:\Windows\system32\ntoskrnl.exe" "7","ntoskrnl.exe","setjmpex + 0x7905","0xfffff800519e6705","C:\Windows\system32\ntoskrnl.exe" "8","","0x7ffc7a17f9e4","0x7ffc7a17f9e4","" "9","","0x7ffc7639af04","0x7ffc7639af04","" "10","","0x7ffc7728fe86","0x7ffc7728fe86","" "11","","0x7ffc7728f622","0x7ffc7728f622","" "12","","0x7ffc77290a46","0x7ffc77290a46","" "13","","0x14048ccca","0x14048ccca","" "14","","0x14009463b","0x14009463b","" "15","","0x140094365","0x140094365","" "16","","0x14008e541","0x14008e541","" "17","","0x140286f46","0x140286f46","" "18","","0x1400a17ca","0x1400a17ca","" "19","","0x1402923cb","0x1402923cb","" "20","","0x1401b95c0","0x1401b95c0","" "21","","0x14049f304","0x14049f304","" "22","","0x7ffc77bb7974","0x7ffc77bb7974","" "23","","0x7ffc7a13a2d1","0x7ffc7a13a2d1","" It looks like too small buffer is passed to NtQueryInformationFile . Andrus. --------------9DFB259B44B5E786861B57D2 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit

Hi!

BUFFER OVERFLOW result stack trace is

"Frame","Module","Location","Address","Path"
"0","FLTMGR.SYS","FltDecodeParameters + 0x1c5d","0xfffff8019f72555d","C:\Windows\System32\drivers\FLTMGR.SYS"
"1","FLTMGR.SYS","FltDecodeParameters + 0x17bc","0xfffff8019f7250bc","C:\Windows\System32\drivers\FLTMGR.SYS"
"2","FLTMGR.SYS","FltDecodeParameters + 0x1328","0xfffff8019f724c28","C:\Windows\System32\drivers\FLTMGR.SYS"
"3","FLTMGR.SYS","FltDecodeParameters + 0x111e","0xfffff8019f724a1e","C:\Windows\System32\drivers\FLTMGR.SYS"
"4","ntoskrnl.exe","IofCallDriver + 0x59","0xfffff80051856109","C:\Windows\system32\ntoskrnl.exe"
"5","ntoskrnl.exe","KeIsAttachedProcess + 0xf3","0xfffff80051929343","C:\Windows\system32\ntoskrnl.exe"
"6","ntoskrnl.exe","NtQueryInformationFile + 0x492","0xfffff80051e8b5c2","C:\Windows\system32\ntoskrnl.exe"
"7","ntoskrnl.exe","setjmpex + 0x7905","0xfffff800519e6705","C:\Windows\system32\ntoskrnl.exe"
"8","<unknown>","0x7ffc7a17f9e4","0x7ffc7a17f9e4",""
"9","<unknown>","0x7ffc7639af04","0x7ffc7639af04",""
"10","<unknown>","0x7ffc7728fe86","0x7ffc7728fe86",""
"11","<unknown>","0x7ffc7728f622","0x7ffc7728f622",""
"12","<unknown>","0x7ffc77290a46","0x7ffc77290a46",""
"13","<unknown>","0x14048ccca","0x14048ccca",""
"14","<unknown>","0x14009463b","0x14009463b",""
"15","<unknown>","0x140094365","0x140094365",""
"16","<unknown>","0x14008e541","0x14008e541",""
"17","<unknown>","0x140286f46","0x140286f46",""
"18","<unknown>","0x1400a17ca","0x1400a17ca",""
"19","<unknown>","0x1402923cb","0x1402923cb",""
"20","<unknown>","0x1401b95c0","0x1401b95c0",""
"21","<unknown>","0x14049f304","0x14049f304",""
"22","<unknown>","0x7ffc77bb7974","0x7ffc77bb7974",""
"23","<unknown>","0x7ffc7a13a2d1","0x7ffc7a13a2d1",""

It looks like too small buffer is passed to NtQueryInformationFile .

Andrus.


--------------9DFB259B44B5E786861B57D2--